what query parser should I use?  http://wiki.apache.org/solr/SolrQuerySyntax

"Differences From Lucene Query Parser

Differences in the Solr Query Parser include

    Range queries [a TO z], prefix queries a*, and wildcard queries a*b are
constant-scoring (all matching documents get an equal score). The scoring
factors tf, idf, index boost, and coord are not used. There is no limitation
on the number of terms that match (as there was in past versions of Lucene).

        Lucene 2.1 has also switched to use ConstantScoreRangeQuery for its
range queries. 

    A * may be used for either or both endpoints to specify an open-ended
range query.

        field:[* TO 100] finds all field values less than or equal to 100

        field:[100 TO *] finds all field values greater than or equal to 100

        field:[* TO *] matches all documents with the field 
    Pure negative queries (all clauses prohibited) are allowed.

        -inStock:false finds all field values where inStock is not false

        -field:[* TO *] finds all documents without a value for field 

    A hook into FunctionQuery syntax. Quotes will be necessary to
encapsulate the function when it includes parentheses.

        Example: _val_:myfield

        Example: _val_:"recip(rord(myfield),1,2,3)" 
    Nested query support for any type of query parser (via QParserPlugin).
Quotes will often be necessary to encapsulate the nested query if it
contains reserved characters.

        Example: _query_:"{!dismax qf=myfield}how now brown cow"

"

  




--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-query-range-upper-exclusive-tp4080978p4081042.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to