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

Thanks,
Shawn

Reply via email to