Sure, you could simply use a different analyzer, like the KeywordAnalyzer, or if that doesn't suit your needs, roll your own.

The Analyzer/Tokenizers are setup in such a way that they are pretty easy to extend, and you can chain their functionality together pretty easily.

Matt

mitu2009 wrote:
Is there any way I can make Lucene analyzer not ignore dots in the string??
for example,if my search criteria is: "A.B.C.D",Lucene should give me only
those documents in the search results which have "A.B.C.D" and not
"ABCD"....



---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to