lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <li...@ehatchersolutions.com>
Subject Re: Different Analyzer for each Field
Date Mon, 28 Jul 2003 12:49:37 GMT
On Monday, July 28, 2003, at 03:12  AM, Kelvin Tan wrote:
> AFAIK, there is a one-one mapping between an index and an analyzer.

Not true.  The Analyzer base class has a method tokenStream that 
accepts the field name.  None of the built-in analyzers use the field 
name to do anything different based on the field name, but a custom 
analyzer easily could.

This change (I think) was made relatively recently, so maybe its not 
part of a release build of Lucene?

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message