On 8/21/2014 9:52 AM, Shawn Heisey wrote:
> On 8/21/2014 8:40 AM, heaven wrote:
>> With 1.5 schema it work but not as it is expected. I am indexing
>> twitter.com/testuser and only need to get exact matches, not those that
>> match "twitter" or "com". so my search results should contain just one
>> record:
>> * http://twitter.com/testuser
>>
>> but what I see with 1.5 schema is:
>> * http://twitter.com/testuser
>> * http://twitter.com/otheruser (match by twitter and com)
>> * http://twitter.com/anotheruser
>> * etc, including all sites that match twitter and/or com (and there's a lot,
>> and all are unrelated).
>
> If you set the q.op parameter to "AND", or issue a phrase query
> (surrounded by quotes), that would do it.  Using the default operator
> would still match if you searched for the following, but the phrase
> query (same thing surrounded by quotes) would not:
>
> testuser twittercom

There was a space between twitter and com when I wrote that.  I don't
know why it's not there in the mail on the list.

Thanks,
Shawn


Reply via email to