public class FieldLengthScoreNormaliser extends Object
DocumentResultScores
based on the length of the field this normaliser is
constructed for. The normalisation values are cached based on the IndexReader
used.Constructor and Description |
---|
FieldLengthScoreNormaliser(String field) |
Modifier and Type | Method and Description |
---|---|
DocumentResultScores |
normalise(org.apache.lucene.index.AtomicReader reader,
DocumentResultScores scores) |
public FieldLengthScoreNormaliser(String field)
public DocumentResultScores normalise(org.apache.lucene.index.AtomicReader reader, DocumentResultScores scores)
Copyright © 2003–2017 Atlassian. All rights reserved.