(10/10/12 5:57), Michael Sokolov wrote:
I would like to inject my CharStream (or possibly it could be a CharFilter;
this is all in flux at the moment) into the analysis chain for a field. Can
I do this in solr using the Analyzer configuration syntax in schema.xml, or
would I need to define my own Analyzer? The solr wiki describes adding
Tokenizers, but doesn't say anything about CharReaders/Filters.
Thanks for any pointers
-Mike
Hi Mike,
You can write your own CharFilterFactory that creates your own
CharStream. Please refer existing CharFilterFactories in Solr
to see how you can implement it.
Koji
--
http://www.rondhuit.com/en/