lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dontspamterry <>
Subject KeywordAnalyzer vs. Field.Index.UN_TOKENIZED
Date Thu, 24 May 2007 17:20:11 GMT

Hi all,

I have an ID field which I index using the KeywordAnalyzer. Since this
analyzer tokenizes the entire stream as a single token, would you say the
end result is the same as using any analyzer and specifying this ID field as
untokenized? The latter approach does not use the analyzer so would that be
more "performant" than the KeywordAnalyzer since there is no call into the
analyzer's tokenization method? Is either approach acceptable or is there
one "proper" way of indexing fields where the entire field value requires an
exact match, i.e. untokenized? Thanks!

View this message in context:
Sent from the Lucene - Java Users mailing list archive at

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

View raw message