Hi,
I have gone through all the thread until now, but I haven't found how to solve my problem. I have boost values for each record to be indexed in a mysql table. When I perform indexing using
Code:
fulltextsession.index()
, I want these boost values read from the table and added to the document. I am looking to do a document.setBoost() . My class implements LuceneOptions and implements the getBoost() method . The getBoost() receives value from the db table. Will this work ?
I also have Document id which has a Fieldbridge implementing a TwoWayFieldBridge, but the LuceneOptions here are being read from LuceneOptionImpl class and not from my class which implements LuceneOptions.
Code:
@FieldBridge(impl = CompositeIdBridge.class)
@DocumentId
private Id id;
I am guessing that is coming from
Code:
DocumentBuilderContainedEntity.getBoost(XProperty member, org.hibernate.search.annotations.Field fieldAnn)
Is there any other way to do this ?
Kindly advise, I am very new to Hibernate Search , hence need some direction
[/quote]