lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Bowesman <>
Subject Re: Turning PrefixQuery into a TermQuery
Date Wed, 11 Apr 2007 21:13:06 GMT
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.

It allows different analyzers to be used for different fields.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message