FAQ

On 5/7/07, Doron Cohen wrote:
With a query parser set to allowLeadingWildcard, this should do:
( +item -price:* ) ( +item +price:[0100 TO 0150] )
or, to avoid too-many-cluases risk:
( +item -price:[MIN TO MAX]) ( +item +price:[0100 TO 0150] )
where MIN and MAX cover (at least) the full range of the ranged field.
Nice! This tip will be a handy one to have. Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 5 | next ›
Discussion Overview
groupjava-user @
categorieslucene
postedMay 6, '07 at 3:05a
activeMay 8, '07 at 11:15a
posts5
users3
websitelucene.apache.org

People

Translate

site design / logo © 2022 Grokbase