Follow-up on HSEARCH-3438 Pull Request Sent . We may want to do it before the release because it would impact the ContainerExtractorPath API. The idea would be to allow users to write this:
@GenericField(extractors = {
@ContainerExtractor(type = MyContainerExtractor1.class),
@ContainerExtractor(BuiltinContainerExtractors.AUTOMATIC),
@ContainerExtractor(type = MyContainerExtractor2.class)
})
Currently AUTOMATIC can only be used if there is only one extractor, but that's more an API issue than an implementation issue. See <TODO conversation link> for details. Also see the TODO in org.hibernate.search.mapper.pojo.mapping.definition.annotation.impl.AnnotationProcessorHelper#getExtractorPath. |