On Mon, Jan 9, 2012 at 5:03 AM, Michael Lissner
<mliss...@michaeljaylissner.com> wrote:
> I have a unique use case where I have words in my corpus that users
> shouldn't ever be allowed to search for. My theory is that if I add these to
> the stopwords list, that should do the trick.

Yes, that should work. Are you including the stop words at index-time,
query-time, or both? Normally, you should do both.

If done at the time of indexing, these terms will not even be in the
index, so I cannot think of any security issues.

Regards,
Gora

Reply via email to