A TokenFilterFactory creates a
TokenFilter to transform one TokenStream
into another.
TokenFilterFactories are registered for FieldType s with the
IndexSchema through the schema.xml file.
Example schema.xml entry to register a TokenFilterFactory
implementation to transform tokens in a field of type "cool"
<fieldtype name="cool" class="solr.TextField">
<analyzer>
...
<filter class="foo.MyTokenFilterFactory"/>
...
A single instance of any registered TokenFilterFactory is created
via the default constructor and is reused for each FieldType.
author: yonik version: $Id: TokenFilterFactory.java 533579 2007-04-30 03:58:02Z ehatcher $ |