lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <p...@hoplahup.net>
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.

Why?

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

Agreeing?

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


Mime
View raw message