lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <>
Subject Re: Help with StopFilterFactory
Date Thu, 21 Aug 2014 15:52:51 GMT
On 8/21/2014 8:40 AM, heaven wrote:
> With 1.5 schema it work but not as it is expected. I am indexing
> and only need to get exact matches, not those that
> match "twitter" or "com". so my search results should contain just one
> record:
> *
> but what I see with 1.5 schema is:
> *
> * (match by twitter and com)
> *
> * 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


View raw message