org.elasticsearch.action.explain
Class ExplainResponse
java.lang.Object
org.elasticsearch.action.explain.ExplainResponse
- All Implemented Interfaces:
- ActionResponse, Streamable
public class ExplainResponse
- extends Object
- implements ActionResponse
Response containing the score explanation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExplainResponse
public ExplainResponse(boolean exists)
ExplainResponse
public ExplainResponse(boolean exists,
org.apache.lucene.search.Explanation explanation)
ExplainResponse
public ExplainResponse(boolean exists,
org.apache.lucene.search.Explanation explanation,
GetResult getResult)
getExplanation
public org.apache.lucene.search.Explanation getExplanation()
explanation
public org.apache.lucene.search.Explanation explanation()
isMatch
public boolean isMatch()
match
public boolean match()
hasExplanation
public boolean hasExplanation()
exists
public boolean exists()
isExists
public boolean isExists()
getResult
public GetResult getResult()
getGetResult
public GetResult getGetResult()
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.