com.atlassian.confluence.search.contentnames.lucene
Class FieldLengthScoreNormaliser
java.lang.Object
com.atlassian.confluence.search.contentnames.lucene.FieldLengthScoreNormaliser
public class FieldLengthScoreNormaliser
- extends Object
Normalise scores in a supplied DocumentResultScores
based on the length of the field this normaliser is
constructed for. The normalisation values are cached based on the IndexReader
used.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldLengthScoreNormaliser
public FieldLengthScoreNormaliser(String field)
normalise
public DocumentResultScores normalise(org.apache.lucene.index.IndexReader reader,
DocumentResultScores scores)
Copyright © 2003-2013 Atlassian. All Rights Reserved.