[email protected]
[Top] [All Lists]

RE: Lucene 2.9

Subject: RE: Lucene 2.9
From: Allahbaksh Mohammedali Asadullah
Date: Mon, 9 Mar 2009 16:39:43 +0530
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 [mailto:[email protected]] 
Sent: Monday, March 09, 2009 4:26 PM
To: [email protected]
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
field: https://issues.apache.org/jira/browse/SOLR-940

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

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

**************** 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 
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 
every reasonable precaution to minimize this risk, but is not liable for any 
you may sustain as a result of any virus in this e-mail. You should carry out 
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 
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: [email protected]
For additional commands, e-mail: [email protected]

<Prev in Thread] Current Thread [Next in Thread>