Hello

I'm using PayloadTermQuery and MaxPayloadFunction together with a custom 
similarity which provided a default value for terms without payloads. The 
scorePayload of my custom similarity got called for every term (with or without 
payload) and the resulting score used the maximum of all returned values.

When switching to PayloadScoreQuery in lucene 6, this behavior changed. 
scorePayload only gets called for terms with payloads and terms without 
payloads get ignored for the MaxPayloadFunction. Is this change intentional? If 
not I'm happy to create an issue and try to make a patch.

Would there be some other way to achieve my goal? I'd rather not add a payload 
for every term (I'm using delimited_payload_filter in elasticsearch and 
therefore currently do not need any custom analysis plugins).

Greetings
Nathan Gass
 
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to