On 12 Apr 2007 at 7:13, Antony Bowesman wrote:

> Steffen Heinrich wrote:
> > Normally an IndexWriter uses only one default Analyzer for all its 
> > tokenizing businesses. And while it is appearantly possible to supply 
> > a certain other instance when adding a specific document there seems 
> > to be no way to use different analyzers on different fields within 
> > one document.
> 
> Use the PerFieldAnalyzerWrapper.
> 
> http://lucene.apache.org/java/docs/api/org/apache/lucene/analysis/PerFieldAnalyzerWrapper.html
> 
> It allows different analyzers to be used for different fields.
> Antony
> 
> 
Hello Antony,

that was exactly what I was looking for but failed to see, thank you.

Still, the answers by Karl and Erick make me re-think the approach.

Cheers,
Steffen



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

Reply via email to