Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: ClassBridge - sorting and faceting not working with HS 5.5.1
PostPosted: Tue Apr 26, 2016 8:44 am 
Newbie

Joined: Tue Apr 26, 2016 8:23 am
Posts: 1
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.