lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: exact match ..
Date Mon, 20 Feb 2006 18:28:13 GMT

On Feb 20, 2006, at 1:22 PM, Mufaddal Khumri wrote:
> Just realized that the various fields I have are part of the same  
> document. But in order to leverage the KeywordAnalyzer, I would  
> have to now have two sets of document.
> One document with the fields: title, content <--- analyzed by  
> custom analyzer
> Other document with the fields: categoryNames < ---- analyzed by  
> keyword analyzer
> Is there a way I could have a single document object have some  
> fields analyzed by my custom analyzer and the one field -  
> "categoryNames" analyzed by the keyword analyzer?

Yes, this is what PerFieldAnalyzerWrapper provides for you, as  
described in detail in several sections of Lucene in Action:


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

View raw message