gerlowskija commented on PR #4141:
URL: https://github.com/apache/solr/pull/4141#issuecomment-3946185430

   > I've made no effort to integrate this new field type into lucene, dismax, 
or edismax query parsers.
   
   I ended up reversing course on this.  The field can now be queried using the 
Lucene, etc. QParser.  Queries sent in this way will assume "contains" 
semantics (i.e. match documents that have a field value that entirely contains 
the query-range).  As a bit of syntax-sugar, users may specify only a single 
bound or point as a shorthand for `[X TO X]`.  In other words: `price_range:5` 
is equivalent to `{!numericRange criteria=contains field=price_range}[5 TO 5]`
   
   I'm pretty uncertain about all the naming and other syntax here, so I've 
marked IntRangeQParser and the underlying field type as 'experimental' for now. 
 The underlying implementation is unlikely to change, but IMO it's very likely 
we'll be tweaking the syntax a bit over time....


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to