lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koji Sekiguchi <k...@r.email.ne.jp>
Subject Re: Looking for a MappingCharFilter that accepts regular expressions
Date Tue, 15 Dec 2009 14:21:35 GMT
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message