lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <>
Subject NOT_ANALYZED... should be an analyzer
Date Thu, 20 Jan 2011 16:29:09 GMT

Hello list,

I am hitting a stupid bug where a unit test shows me that QueryParser analyzes fierciely anything
it finds hence... I have to tune the analyzer to not decompose the terms with fields that
should be non-analyzed.

For indexing, you can choose to have something not_analyzed.
For query-parsing you cannot.


I think it'd be simpler and more understandable to have NOT_ANALYZED be replaced by NopAnalyzer
or something like that.


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

View raw message