i noticed that your search terms are using caps vs lower case, are your
search fields perhaps not set to lowercase the terms and/or the search
term?

On Mon, Feb 28, 2011 at 10:41 AM, mrw <mikerobertsw...@gmail.com> wrote:

> Say I have an index with first_name and last_name fields, and also a copy
> field for the full name called full_name.  Say I add two employees:
> Napoleon Bonaparte and Napoleon Dynamite.
>
> If I search for just the first or last name, or both names, with mm=1, I
> get
> the expected results:
>
> q=Napoleon&defType=dismax&tie=0.1&qf=first_name%20last_name&mm=1      // 2
> results
> q=Bonaparte&defType=dismax&tie=0.1&qf=first_name%20last_name&mm=1     // 2
> results
>
> q=Napoleon%20Bonaparte&defType=dismax&tie=0.1&qf=first_name%20last_name&mm=1
> // 2 results
>
>
> However, if I try to search for both names with mm=2 (which I think means
> term1 AND term2), I get 0 results:
>
>
> q=napoleon%20bonaparte&defType=dismax&tie=0.1&qf=first_name%20last_name&mm=2
>    // 0 results
> q=napoleon%20bonaparte&defType=dismax&tie=0.1&qf=full_name&mm=2     // 0
> results
>
> I also see this when I put all fields (including the copy field) into the
> qf
> parameter.
>
>
> Thoughts?
>
>
> Thanks!
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Different-behavior-for-q-goo-com-vs-q-goo-com-in-queries-tp2168935p2596768.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to