public class DocumentAnalysisResponse extends AnalysisResponseBase implements Iterable<Map.Entry<String,DocumentAnalysisResponse.DocumentAnalysis>>
DocumentAnalysisRequest.
 Holds a map of DocumentAnalysisResponse.DocumentAnalysis objects by a document id (unique key).| Modifier and Type | Class and Description | 
|---|---|
static class  | 
DocumentAnalysisResponse.DocumentAnalysis
An analysis process breakdown of a document. 
 | 
static class  | 
DocumentAnalysisResponse.FieldAnalysis
An analysis process breakdown for a specific field. 
 | 
AnalysisResponseBase.AnalysisPhase, AnalysisResponseBase.TokenInfoMapWriter.EntryWriter| Constructor and Description | 
|---|
DocumentAnalysisResponse()  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getDocumentAnalysesCount()
Returns the number of document analyses in this response. 
 | 
DocumentAnalysisResponse.DocumentAnalysis | 
getDocumentAnalysis(String documentKey)
Returns the document analysis for the document associated with the given unique key (id),  
null if no such
 association exists. | 
Iterator<Map.Entry<String,DocumentAnalysisResponse.DocumentAnalysis>> | 
iterator()
Returns an iterator over the document analyses map. 
 | 
void | 
setResponse(NamedList<Object> response)  | 
buildPhases, buildTokenInfo, buildTokenInfoFromStringgetElapsedTime, getQTime, getRequestUrl, getResponse, getResponseHeader, getStatus, setElapsedTime, setRequestUrl, toString, writeMapdeserialize, getException, serializableclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliterator_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStrpublic void setResponse(NamedList<Object> response)
setResponse in class SolrResponseBasepublic int getDocumentAnalysesCount()
public DocumentAnalysisResponse.DocumentAnalysis getDocumentAnalysis(String documentKey)
null if no such
 association exists.documentKey - The document unique key.public Iterator<Map.Entry<String,DocumentAnalysisResponse.DocumentAnalysis>> iterator()
iterator in interface Iterable<Map.Entry<String,DocumentAnalysisResponse.DocumentAnalysis>>Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.