Adapt to new checkstyle constraints

This commit is contained in:
Christoph Büscher 2016-07-05 11:38:19 +02:00
parent 304e59cb04
commit b38a12ad15
2 changed files with 5 additions and 4 deletions

View File

@ -23,6 +23,6 @@ import org.elasticsearch.common.io.stream.NamedWriteable;
import org.elasticsearch.search.SearchHit;
public interface Evaluator extends NamedWriteable {
public Object evaluate(SearchHit[] hits, RatedQuery intent);
Object evaluate(SearchHit[] hits, RatedQuery intent);
}

View File

@ -24,7 +24,7 @@ import org.elasticsearch.search.SearchHit;
/**
* Classes implementing this interface provide a means to compute the quality of a result list
* returned by some search.
*
*
* RelevancyLevel specifies the type of object determining the relevancy level of some known docid.
* */
public interface RankedListQualityMetric extends Evaluator {
@ -36,5 +36,6 @@ public interface RankedListQualityMetric extends Evaluator {
* @param hits the result hits as returned by some search
* @return some metric representing the quality of the result hit list wrt. to relevant doc ids.
* */
public EvalQueryQuality evaluate(SearchHit[] hits, RatedQuery intent);
@Override
EvalQueryQuality evaluate(SearchHit[] hits, RatedQuery intent);
}