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/13 16:10:29 UTC
QueryParser.Parse not working
Dear All!
QueryParser.Parse not working in this way:
Query query = Lucene.Net.QueryParsers.QueryParser.Parse(searchstring,
"_content", analyzer);
Seems not Parse function (non-member) without instantiate!?
thx
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
Search in more fields, how
Posted by Gábor Alsecz <ga...@comeleo.com>.
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
Localizable quesion
Posted by Gábor Alsecz <ga...@comeleo.com>.
Dear Developers!
Is it possible in the new version (2.1) using Localization? Like in:
DotLucene National Language Support Pack
How should I index a database table to support this function? And how should
I search with Lucene.NET?
Thanks!
Gábor
RE: QueryParser.Parse not working
Posted by Michael Garski <mg...@myspace.com>.
The QueryParser.Parse method is no longer static, but is an instance method. I believe that changed in the 1.9->2.0 version.
Michael
-----Original Message-----
From: Gábor Alsecz [mailto:gabor@comeleo.com]
Sent: Tuesday, May 13, 2008 7:10 AM
To: lucene-net-dev@incubator.apache.org
Subject: QueryParser.Parse not working
Dear All!
QueryParser.Parse not working in this way:
Query query = Lucene.Net.QueryParsers.QueryParser.Parse(searchstring,
"_content", analyzer);
Seems not Parse function (non-member) without instantiate!?
thx