Boost on IndexedEmbedded properties
Description
Activity
Show:

Gunnar Morling April 10, 2015 at 11:07 AM

Sanne Grinovero February 6, 2015 at 3:03 PM
Thanks Manuel!
Good point. Do you think you will be able to help out? For example contributing a unit test would be very useful.
Fixed
Details
Details
Assignee

Reporter

Components
Fix versions
Affects versions
Priority
Created February 6, 2015 at 2:19 PM
Updated April 16, 2015 at 7:49 PM
Resolved April 10, 2015 at 2:58 PM
I tried to add boosts on an @IndexedEmbedded Property:
Boost annotation at IndexedEmbedded property level
The Boost annotation gets read in AbstractDocumentBuilder.checkForIndexEmbedded and is stored in the PropertiesMetadata.embeddedPropertiesMetadata, but the extracted value isn't used for the calculation in DocumentBuilderIndexedEntity.buildDocumentFields. A TODO is stated in the method part, where the embedded objects are recursively processed:
Comment in DocumentBuilderIndexedEntity.java