Fixed
Details
Assignee
Yoann RodièreYoann RodièreReporter
Yoann RodièreYoann RodièreComponents
Sprint
NoneFix versions
Affects versions
Priority
Major
Details
Details
Assignee
Yoann Rodière
Yoann RodièreReporter
Yoann Rodière
Yoann RodièreComponents
Sprint
None
Fix versions
Affects versions
Priority
Created October 25, 2016 at 8:57 AM
Updated November 29, 2016 at 1:06 AM
Resolved November 4, 2016 at 6:15 PM
This is because the
ElasticsearchIndexManager
relies onorg.hibernate.search.engine.metadata.impl.DocumentFieldMetadata.getAnalyzerReference()
to determine the analyzer, andorg.hibernate.search.engine.metadata.impl.AnnotationMetadataProvider.bindClassBridgeAnnotation(String, Builder, ClassBridge, FieldBridge, ConfigContext, ParseContext)
does not initialize the analyzer reference on theDocumentFieldMetadata
(no call tobuilder.analyzerReference
).There might be other metadata that are not initialized properly, so it may be worth it to compare standard field metadata building with class bridge metadata building.
Note: there are disabled tests that should be re-enabled if we implement this feature or marked as definitively disabled if we decide otherwise. Search in the codebase for references to this ticket's key.