AnalyzerDiscriminator doesn't allow for local overrides
Description
Activity
Show:

Yoann Rodière May 11, 2020 at 7:44 AM
No longer relevant: @AnalyzerDiscriminator
has been removed in Hibernate Search 6.
See for how to implement similar functionality in Hibernate Search 6.

Gunnar Morling January 21, 2015 at 11:08 AM
, Any chance you provide a full example / test case? Thx!

Hardy Ferentschik August 11, 2014 at 11:35 AM
thanks

Marc Schipperheyn August 11, 2014 at 11:32 AM
I'll wipp soemthing up

Hardy Ferentschik August 11, 2014 at 8:52 AMEdited
, could you provide a full test case or at least test config?
Out of Date
Details
Details
Assignee

Reporter

Components
Priority
Created August 10, 2014 at 12:54 PM
Updated May 11, 2020 at 7:44 AM
Resolved May 11, 2020 at 7:44 AM
During some testing I found that if you use an AnalyzerDiscriminator for class level analyzer selection, you can't seem to override this at field level by specifying a specific @Analyzer.
In our case, we use an AnalyzerDiscriminator that selects a language based stemming Analyzer but for one specific field, we are trying to use whitespace analyzer.
However, the index contains "stemmed" terms