What steps have you taken to figure out whether the
contents of your index are what you think? I suspect
that the fields you're indexing aren't being
analyzed/tokenized quite the way you expect either at
query time or index time (or maybe both!).

Take a look at the admin/analysis page for the field you're indexing
the data into. If that doesn't shed any light on the problem,
please paste in the <fieldType> definition for the field in question,
maybe another set of eyes can see the issue.

Best
Erick

On Thu, Dec 30, 2010 at 2:11 PM, mrw <mikerobertsw...@gmail.com> wrote:

>
> Using Lucid's Solr 1.4 distribution, if I index my email inbox and then
> search it by passing in different email expressions, I notice that I get
> different results based on whether the '@' character is included, even
> though the character is present in every email address in the field I'm
> searching.
>
> For example, q=goo.com returns multiple items, as expected.
>
> However, q...@goo.com return no results.  Since every address containing
> "goo.com" also contains "@goo.com," I would expect the same number of
> results.
>
> I get this from both the Solr admin console and from my application, which
> URL-encodes the query.
>
> I Googled, searched the Wiki, and grepped the Pugh and Lucid books, but
> don't see anything about this.
>
>
> Ideas?
>
> Thanks!
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Different-behavior-for-q-goo-com-vs-q-goo-com-in-queries-tp2168935p2168935.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to