Can you use PerFieldAnalyzerWrapper? That would be the normal way to
approach this, specifying a different, synonym aware, analyzer for the
relevant field(s).
--
Ian.
On Mon, Apr 4, 2011 at 11:31 PM, Christopher Condit wrote:
> I need to add synonyms to an index depending on the field being in
I need to add synonyms to an index depending on the field being indexed.
I know that TokenFilter is not "field aware", but is there a good way to
get at the field or do I need to add something to allow my Analyzer to
tell the TokenFilter which field is currently being examined?
Thanks,
-Chris
---