Since migrating from HS 4.5.1 to HS 5.5.1 we have problems with sorting and faceting.
All our indexing is done using a class bridge which calls a CDI-Bean to do the actual indexing because the configuration which fields are indexed is dynamic and can change at runtime.
Sorting: we would like to take advantage of the new sorting features using docvalues. We tried to add interface MetadataProvidingFieldBridge to the class bridge to provide the information about sort fields, but at the time when this is called the CDI-bean is not yet available.
Is there a way to re-initialize the SearchIntegrator in the @PostContruct-method of the CDI-bean or when our index configuration has changed?
Faceting: similar problem, we cannot use @Facet-annotation because the configuration is dynamic. Is there a plan to add faceting-information via a class bridge in the near future, similar to MetadataProvidingFieldBridge?
|