Hi,

We are running solr 6.1.0
We are using ComplexPhraseQuery As default parser.

It seems that range query are not working with this parser.

Here is the query:
nbaff:({0 TO * })

Here is the field definition in the schema:
<fieldType name="int" class="solr.TrieIntField" omitNorms="true" positionIncrementGap="0" precisionStep="0"/>
<field name="nbaff" type="int" indexed="true" stored="false"/>

Running query in debug mode gives this:

 "debug":{
    "rawquerystring":"nbaff:({0 TO * })",
    "querystring":"nbaff:({0 TO * })",
    "parsedquery":"nbaff:{EXCEPTION(val=0) TO *}",
    "parsedquery_toString":"nbaff:{0 TO *}",

Note that the query nbaff:0 is working properly.

Is there something special to do ?

Regards
JMR




Reply via email to