lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Digy" <digyd...@gmail.com>
Subject RE: Search in more fields, how
Date Wed, 14 May 2008 16:33:44 GMT
You can search like fieldName:[fromStr TO toStr] 

or you can use RangeFilter class.

 

DIGY

 

-----Original Message-----
From: Gábor Alsecz [mailto:gabor@comeleo.com] 
Sent: Wednesday, May 14, 2008 2:00 PM
To: lucene-net-dev@incubator.apache.org
Subject: Search in more fields, how

 

Dear All!

 

Question. 

How can I find in more than one fields at the same time?

Such as I have two fields:

 

ip_from     ip_to

3515134258  3515134259

 

I would like to create a query like in SQL: WHERE ip_from <= '3515134258'

and ip_to >= '3515134259'

Is it possible? How?

 

Many thanks,

Gábor


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message