Paul Taylor wrote:
CharStream.Found it at http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/analysis/PatternReplaceFilter.java?revision=804726&view=markup, BTW why not ad this to the Lucene coebase rather than solr code base.

Unfortunately it doesn't address my problem because it is a tokenfilter that works on a tokenstream, but Im trying to write a CharFilter to be applied before the text is tokenized , but I'm struggling with implementing CharStream.correctOffset()


Paul
I said PatternReplace*Char*Filter, not TokenFilter (as you mentioned).
I've just committed PatternReplaceCharFilter in Solr trunk.

Koji

--
http://www.rondhuit.com/en/


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

Reply via email to