Here is my case;
I have a field at my schema named elmo_field
. I want that elmo_field
should have payloaded values. i.e.
do
I've implemented a custom similarity wrapper. For usual things I've used DefaultSimilarity. If a field is a payloaded field another similarity that is implemented by me is used. That similarity class just ignores payload value. I've also implemented a query parser that is a customized version of edismax. With that approach I could add payload value into the document score.