I just updated my Lucene to 6.5.0 and tried to get rid of the now deprecated index-time field boosts.
So I did the suggested fix in the deprecation message and added FloatDocValues to each Document holding the Boosts for each indexed field.
In my current Search Implementation there is one BooleanQuery per Field containing three BoostQueries. To apply the field boosts from my DocValues I wrapped each BooleanQuery inside a FunctionScoreQuery like this:
So far it works as expected but I realized that my Highlighting is not working anymore.
For Highlighting I use the following Snippet:
When I remove the FunctionScorerQuery wrapped around my BooleanQueries the Highlighting is perfectly fine again. Am I missing something here or is this a bug?
PS: This is my first post here. I hope I did everything right