lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: Indexing multiple instances of the same field for each docume nt
Date Sun, 29 Feb 2004 00:54:46 GMT
On Feb 28, 2004, at 5:38 PM, Moray McConnachie (OA) wrote:
> ----- Original Message -----
> I guess the best way to handle this problem, other than getting the
> application to transform values prior to query or indexing, is 
> actually to
> tokenize the field after all, but use the same KeywordAnalyzer to do 
> it!

Bingo... this is the same thinking I've had on this subject.  Why even 
bother with Field.Keyword and the confusion that occurs with 
QueryParser and such?  Just use a KeywordAnalyzer and 
PerFieldAnalyzerWrapper setup instead for both indexing and 
querying.... at least that seems a more confusion-free route to go in a 
lot of ways.


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

View raw message