On Thursday 13 March 2008 15:21:19 Asgeir Frimannsson wrote:
> >    I was hoping to have IndexWriter take an AnalyzerFactory, where the
> > AnalyzerFactory produces Analyzer depending on some criteria of the
> > document, e.g. language.

> With PerFieldAnalyzerWrapper, you can specify which analyzer to use with
> each field, as well as a default analyzer.

Certainly this would work as long as you store each language in a different 
Lucene field.  This is probably a good idea anyway as it will be easier for 
the QueryParser where there won't necessarily be enough text to determine the 
language easily.

Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to