Let's assume that my sentence is that: *Alice is a diet follower*
My special keyword => *diet follower* Tokens will be: Token 1) Alice Token 2) is Token 3) a Token 4) diet Token 5) follower Token 6) *diet follower* 2013/8/19 Jack Krupansky <j...@basetechnology.com> > 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? >