Thanks to all that responded!  This did the trick.  I used
admin/analysis.jsp to determine how solr indexed my data and how solr parses
my query.  I used a QueryParser and applied the same filters to my query,
and now my results match exactly.

Thanks again!

> -----Original Message-----
> 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:
> 
> > ...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 ending "s".
> 
> The best way to debug such problems is with the analyzer admin tool:
> http://localhost:8983/solr/admin/analysis.jsp - that page 
> will show you how your field is processed while indexing.
> 
> HTH,
> -Bertrand
> 

Reply via email to