lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Inconsistent Search Results for different flavors of same search term
Date Tue, 08 Dec 2009 00:43:13 GMT
First, this is the devloper's list, I think this question
would be better suited to the user's list.

You get searches to be case insensitive by
indexing and searching with an analyzer that, say,
lowercases. If you post on the user's list, please
include the analyzer definitions for the fields in
question *and* your query. From your email, I
can't tell if, for instance, you're even searching
against the same field for both terms. i.e. if you're
searching something like title:san jose then san
would go against the title field while jose would go
against the default search field...

If you want to be really thorough, also post the results
of your query with &debugQuery=on....

Schema browser in your SOLR admin page might
help, and Luke can be used to examin what's actually in
your index.

Best
Erick

On Mon, Dec 7, 2009 at 6:36 PM, insaneyogi3008 <insaneyogi@gmail.com> wrote:

>
> Hello,
>
> I was performing a search on different versions of the term "San Jose" on
> my
> Solr Instance ,  the differing versions being :
>
> san jose(all lowercase)
> San jose(One uppercase)
> San Jose (Capital first letters)
> SAN JOSE (ALL Caps)
>
> each of these phrases return a different number of "hits" back as response
> objects . for example
>
> san jose returns -> <result name="response" numFound="0" start="0">
> San jose returns -><result name="response" numFound="4" start="0">
> San Jose returns -><result name="response" numFound="16" start="0">
> SAN JOSE returns -> <result name="response" numFound="853" start="0">
>
> How do I make my search not case sensitive?
> --
> View this message in context:
> http://old.nabble.com/Inconsistent-Search-Results-for-different-flavors-of-same-search-term-tp26686294p26686294.html
> Sent from the Solr - Dev mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message