lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mr Shore" <shore.cl...@gmail.com>
Subject Re: search for special condition.
Date Thu, 14 Aug 2008 03:43:37 GMT
can nutch or lucene support search for special characters like .?
when i search ".net" many result come for "net"
i want to exclude them
ps:i love korean language a lot

2008/8/13 장용석 <need4spd@gmail.com>

> hi. thank you for your response.
>
> I was found the way with your help.
>
> There are class that name is ConstantScoreRangeQuery and NumberTools.
>
> Reference site is here.
>
> http://markmail.org/message/dcirmifoat6uqf7y#query:org.apache.lucene.document.NumberTools+page:1+mid:tld3uekaylmu2cwt+state:results
>
>
> Thanks very much. :)
>
>
>
> 2008/8/13, Otis Gospodnetic <otis_gospodnetic@yahoo.com>:
> >
> > 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: 장용석 <need4spd@gmail.com>
> > > 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: java-user-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-user-help@lucene.apache.org
> >
> >
>
>
> --
> DEV용식
> http://devyongsik.tistory.com
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message