lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject how to remove the dash
Date Mon, 25 Jun 2012 01:40:54 GMT

I have strings like "drinks - water" and I've read in "Lucene in 
Action" that
the StandardAnalyzer and other analyzers removes the "-" from the 
but so far none of them worked... All of them change my string to 
something like
"drinks -water" so the "-" is used as an "prohibit operator" and this 
is a BIG problem for me.

I'm using Lucene 3.6.
I'am also using my own Analyzer, Filters and a Tokenizer based on 
StandardTokenizer with changes
on the Flex file to remove some othe stuff.

How can i remove the "-"?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message