lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <>
Subject Re: Default stop word list
Date Sat, 27 Aug 2016 18:53:35 GMT
On 8/27/2016 12:39 PM, Shawn Heisey wrote:
> I personally think that stopword removal is more of a problem than a
> solution.

There actually is one thing that a stopword filter can dothat has little
to do with the purpose it was designed for.  You can make it impossible
to search for certain words.

Imagine that your original data contains the word "frisbee" but for some
reason you do not want anybody to be able to locate results using that
word.  You can create a stopword list containing just "frisbee" and any
other variations that you want to limit like "frisbees", then place it
as a filter on the index side of your analysis.  With this in place,
searching for those terms will retrieve zero results.


View raw message