lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Allahbaksh Mohammedali Asadullah <>
Subject RE: Lucene 2.9
Date Mon, 09 Mar 2009 11:09:43 GMT

I was not aware of TrieRangeQuery but whether syntax for numberical query will change. For
example I want to search 
amount >= 15 rather than doing it amount:[ 15] or something?

Is there any open source queryparser which converts something like amount >=15 into lucene
number format query.


-----Original Message-----
From: Uwe Schindler [] 
Sent: Monday, March 09, 2009 4:26 PM
Subject: RE: Lucene 2.9

> > Is there any plans to have simpler queries for Numbers and Data?
> With the recent addition of TrieRangeQuery (in 2.9), I think Lucene's
> range querying is actually very strong, though you'd have to subclass
> QueryParser and override getRangeQuery to have it create TrieRangeQuery.

The additions for QueryParser to support this are done in Solr (because in
contrast to Lucene alone, Solr knows the datatype and encoding) of each

You can do it in the same way. Maybe we should supply some "plugin" for the
QueryParser in TrieRange contrib?

To unsubscribe, e-mail:
For additional commands, e-mail:

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message