org.elasticsearch.script
Interface ExplainableSearchScript

All Superinterfaces:
ExecutableScript, SearchScript

public interface ExplainableSearchScript
extends SearchScript

To be implemented by SearchScript which can provided an Explanation of the score


Method Summary
 org.apache.lucene.search.Explanation explain(org.apache.lucene.search.Explanation subQueryExpl)
          Build the explanation of the current document being scored
 
Methods inherited from interface org.elasticsearch.script.SearchScript
runAsDouble, runAsFloat, runAsLong, setNextDocId, setNextReader, setNextScore, setNextSource, setScorer
 
Methods inherited from interface org.elasticsearch.script.ExecutableScript
run, setNextVar, unwrap
 

Method Detail

explain

org.apache.lucene.search.Explanation explain(org.apache.lucene.search.Explanation subQueryExpl)
Build the explanation of the current document being scored

Parameters:
subQueryExpl - the explanation of the subQuery


Copyright © 2009-2012. All Rights Reserved.