You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by Gábor Alsecz <ga...@comeleo.com> on 2008/05/14 12:59:44 UTC
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
Localization
Posted by Gábor Alsecz <ga...@comeleo.com>.
Dear All!
Is the Lucene.NET 2.1 support national languages like Korean, Japanese,
Greek, Russian, etc.?
In DotLucene there was the NLS package.
How can I use this function in Lucene.NET 2.x?
Thanks!
g.
-----Original Message-----
From: Digy [mailto:digydigy@gmail.com]
Sent: Wednesday, May 14, 2008 6:34 PM
To: lucene-net-dev@incubator.apache.org
Subject: RE: Search in more fields, how
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
RE: Search in more fields, how
Posted by Digy <di...@gmail.com>.
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