In order to take advantage of this, you must override {@link org.apache.lucene.search.Similarity#scorePayload(byte[],int,int)}which returns 1 by default.
Payload scores are averaged across term occurrences in the document.
WARNING: The status of the Payloads feature is experimental. The APIs introduced here might change in the future and will not be supported anymore in such a case. @see org.apache.lucene.search.Similarity#scorePayload(byte[],int,int)
|
|