lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lis...@alphamatrix.org
Subject how to remove the dash
Date Mon, 25 Jun 2012 01:40:54 GMT
hi

I have strings like "drinks - water" and I've read in "Lucene in 
Action" that
the StandardAnalyzer and other analyzers removes the "-" from the 
string
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 "-"?

Thanks
xpete

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message