You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by JM Rouand <je...@free.fr> on 2016/08/04 10:06:03 UTC
ComplexPhraseQuery and range query
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