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: Trying to simplify MappingCharFilter to match whole field
Date Sat, 20 Mar 2010 23:20:59 GMT
Paul Taylor wrote:
> I'm trying to create a CharFilter which works like MappingCharFilter 
> but only changes the matchString if the match String matches the whole 
> field rather than a portion in the field (this is to handle some 
> exceptions wiyout effecting other data). Trouble is the code in 
> MappingCharFilter is devoid of comments and I cant figure out what I 
> need to change, any ideas ?
>
> Paul
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
I'm not sure I understand your problem correctly,
but can you use PatternReplaceCharFilter in Solr?

http://lucene.apache.org/solr/api/org/apache/solr/analysis/PatternReplaceCharFilter.html

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