Hi,

Lucene doesn't have the greater than operator.  Perhaps you can use range 
queries to accomplish the same thing.


http://lucene.apache.org/java/2_3_2/queryparsersyntax.html#Range%20Searches

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: 장용석 <[EMAIL PROTECTED]>
> To: java-user@lucene.apache.org
> Sent: Tuesday, August 12, 2008 6:01:00 AM
> Subject: search for special condition.
> 
> hi.
> 
> I am searching for lucene api or function like query "FIELD > 1000"
> 
> For example, a user wants to search a product which price is bigger then
> user's input.
> If user's input is 10000 then result are the products in index just like
> "PRICE > 10000"
> 
> Is there any way to search like that?
> 
> thanks.
> Jang.
> -- 
> DEV용식
> http://devyongsik.tistory.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to