how to remove the dash

2012-06-24 Thread listas
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

RE: StandardTokenizer and split tokens

2012-06-24 Thread Uwe Schindler
Hi, No problem! I also updated the JavaDocs in trunk, 4.x and 3.6.1 to prevent this wrong usage (missing offset, count, charset). I am glad that I was able to assist you! Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original