lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JM Rouand <jeanmichel.rou...@free.fr>
Subject ComplexPhraseQuery and range query
Date Thu, 04 Aug 2016 10:06:03 GMT
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





Mime
View raw message