Your example doesn't "prevent" any keywords.

You need to elaborate the specific requirements with more detail.

Given a long stream of text, what tokenization do you expect in the index?

-- Jack Krupansky

-----Original Message----- From: Furkan KAMACI Sent: Monday, August 19, 2013 8:07 AM To: solr-user@lucene.apache.org Subject: Prevent Some Keywords at Analyzer Step
Hi;

I want to write an analyzer that will prevent some special words. For
example sentence to be indexed is:

diet follower

it will tokenize it as like that

token 1) diet
token 2) follower
token 3) diet follower

How can I do that with Solr?

Reply via email to