RE: Lucene Filter

2010-03-04 Thread Dyutiman
yaa... and now I am trying with multiple filters. Thanks -- View this message in context: http://old.nabble.com/Lucene-Filter-tp27756577p27778081.html Sent from the Lucene - Java Developer mailing list archive at Nabble.com

RE: Lucene Filter

2010-03-03 Thread Uwe Schindler
gt; To: java-dev@lucene.apache.org > Subject: Re: Lucene Filter > > > Oho... actually I didn't check that part of my code at all > Thanks a lot for pointing out this to me. The search is running > perfectly > now > > thanks > Dyutiman > -- > View

Re: Lucene Filter

2010-03-03 Thread Dyutiman
Oho... actually I didn't check that part of my code at all Thanks a lot for pointing out this to me. The search is running perfectly now thanks Dyutiman -- View this message in context: http://old.nabble.com/Lucene-Filter-tp27756577p27768251.html Sent from the Lucene - Java Deve

Re: Lucene Filter

2010-03-03 Thread mark harwood
-- From: Dyutiman To: java-dev@lucene.apache.org Sent: Wed, 3 March, 2010 11:40:29 Subject: Re: Lucene Filter Thanks Erick, I tried Luke and it seems that my index is fine (see the screenshot attached http://old.nabble.com/file/p27767115/luke.JPG luke.JPG ). That means I did something w

Re: Lucene Filter

2010-03-03 Thread Dyutiman
SearchUtil.java ). If you please can check it ones that will be very helpful. thanks again Dyutiman -- View this message in context: http://old.nabble.com/Lucene-Filter-tp27756577p27767115.html Sent from the Lucene - Java Developer mailing list archive at Nabble.com

Re: Lucene Filter

2010-03-02 Thread Erick Erickson
qp = new QueryParser(Version.LUCENE_CURRENT, "contents", > >> analyzer); > >> Query query = qp.parse(searchString); > >> Filter filter = new TermRangeFilter("sentiment", "positive", "positive", > >> true, true); > >>

Re: Lucene Filter

2010-03-02 Thread Dyutiman
nts", >> analyzer); >> Query query = qp.parse(searchString); >> Filter filter = new TermRangeFilter("sentiment", "positive", "positive", >> true, true); >> topDocs = searcher.search(query, filter, 20); >> >> But I am

Re: Lucene Filter

2010-03-02 Thread Erick Erickson
ts mixed with all 3 sentiments. I tried other filters > also but the result is same. > Anybody got any solutions for me please help.. > > thanks > Dyutiman > > -- > View this message in context: > http://old.nabble.com/Lucene-Filter-tp27756577p27756577.html > S

Lucene Filter

2010-03-02 Thread Dyutiman
ments. I tried other filters also but the result is same. Anybody got any solutions for me please help.. thanks Dyutiman -- View this message in context: http://old.nabble.com/Lucene-Filter-tp27756577p27756577.html Sent from the Lucene - Java Developer mailing list archive at Nabble.com.

Re: Lucene filter

2009-04-03 Thread Michael McCandless
Could you re-ask this on java-user, instead? Thanks. Mike On Thu, Apr 2, 2009 at 6:24 PM, addman wrote: > > How do you create a Lucene Filter to check if a field has a value?  It is > part for a ChainedFilter that I am creating. > -- > View this message in context: > htt

Lucene filter

2009-04-02 Thread addman
How do you create a Lucene Filter to check if a field has a value? It is part for a ChainedFilter that I am creating. -- View this message in context: http://www.nabble.com/Lucene-filter-tp22858220p22858220.html Sent from the Lucene - Java Developer mailing list archive at Nabble.com