RE: strange results from lucene

2007-04-18 Thread Bill Tantzen
; From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Bertrand Delacretaz > Sent: Tuesday, April 17, 2007 3:00 PM > To: solr-user@lucene.apache.org > Subject: Re: strange results from lucene > > On 4/17/07, Bill Tantzen <[EMAIL PROTECTED]> wrote: > > > .

Re: strange results from lucene

2007-04-17 Thread Daniel Naber
On Tuesday 17 April 2007 21:51, Bill Tantzen wrote: > However, when I search with 'q=ethics' in solr, I get almost 10,000 > matches. With my client, I get 0. If you don't specify a field, your client will use this code: Query query = new TermQuery( new Term("", "ethics") ); This is legal, but y

Re: strange results from lucene

2007-04-17 Thread Bertrand Delacretaz
On 4/17/07, Bill Tantzen <[EMAIL PROTECTED]> wrote: ...However, when I search with 'q=ethics' in solr, I get almost 10,000 matches. With my client, I get 0 What kind of analyzer do you use when indexing that field? If you have a stemmer, for example, "ethics" might be indexed without the e