Re: Problem in lucene query

2009-09-10 Thread Erick Erickson
Also, get a copy of Luke and examine your index, that'll tell you what isactually in there *and* it will let you see how queries parse under various analyzers. Best Erick On Thu, Sep 10, 2009 at 6:47 AM, vibhuti wrote: > Hello > > > > I am new to Lucene and facing a problem while performing

Re: Problem in lucene query

2009-09-10 Thread Anshum
Hi Vibhuti, Not in sync with your query, but I'd advice you to graduate you to a rather recent lucene release. Something like 2.4.1 or atleast a 2.3.1 [Considering its already time for 2.9]. -- Anshum Gupta Naukri Labs! http://ai-cafe.blogspot.com The facts expressed here belong to everybody, the

Re: Problem in lucene query

2009-09-10 Thread AHMET ARSLAN
> I am new to Lucene and facing a problem while performing > searches. I am using lucene 2.2.0. > > My application indexes documents on "keyword" field which > contains integer values. Which analyzer/tokenizer are you using on that field? I am assuming it is a tokenized field. >If the value is

Problem in lucene query

2009-09-10 Thread vibhuti
Hello I am new to Lucene and facing a problem while performing searches. I am using lucene 2.2.0. My application indexes documents on "keyword" field which contains integer values. If the value is negative the query does not return correct results. Following is my lucene query: (keywo

Re: Problem in Lucene

2007-07-31 Thread Srinivasarao Vundavalli
The code that is making use of that makeStopFilter is not written by me. It has read-only permission. So, I can't make any changes to it. On 7/31/07, Erick Erickson <[EMAIL PROTECTED]> wrote: > > Why not fix your code to be 2.1 compliant instead? For instance, > StopFilter has a constructor that t

Re: Problem in Lucene

2007-07-31 Thread Erick Erickson
Why not fix your code to be 2.1 compliant instead? For instance, StopFilter has a constructor that takes Set and a constructor that takes an array of String for stopwords. Otherwise, please tell us more about what you are doing with MakeStopTable and why making your code 2.1 compliant isn't an op

Problem in Lucene

2007-07-30 Thread Srinivasarao Vundavalli
Hi, I am using nutch index to search in lucene. One of my classes use makeStopTable method ( which is deprecated) of class StopFilter in org.apache.lucene.analysis. When I run my program with lucene 2.1.0 ~/j2sdk1.4.2/bin/java -classpath .:lucene-core-2.1.0.jar SearchFiles Exception in th