lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Holger RieƟ <Holger.Ri...@werkzeug-eylert.de>
Subject Elevation and nested queries
Date Mon, 03 Feb 2014 15:00:23 GMT
I have a simple query 'q=hurco' (parser type edismax). Elevation is properly configured, so
I get the expected results:
...
<doc>
    <str name="id">7HURCO</str>
    <arr name="debtoritem">
      <str>0~*</str>
    </arr>
    <bool name="[elevated]">true</bool>
</doc>

A similar query with a nested query 'q=(hurco AND _query_:"{!field f=debtoritem v=0~*}")'
returns the same document but without elevation:
...
<doc>
    <str name="id">7HURCO</str>
    <arr name="debtoritem">
      <str>0~*</str>
    </arr>
    <bool name="[elevated]">false</bool>
</doc>

Does a nested query disable elevation?

There is an additional spellcheck component added to the query. This is working as expected.
<arr name="last-components">
	<str>spellcheck</str>
	<str>elevator</str>
</arr>

Thanks,
Holger

Mime
View raw message