|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.solr.client.solrj.SolrResponse
org.apache.solr.client.solrj.response.SolrResponseBase
org.apache.solr.client.solrj.response.AnalysisResponseBase
org.apache.solr.client.solrj.response.FieldAnalysisResponse
public class FieldAnalysisResponse
A response that is returned by processing the FieldAnalysisRequest.
Holds a map of FieldAnalysisResponse.Analysis objects per field name as well as a map of FieldAnalysisResponse.Analysis objects per field type.
| Nested Class Summary | |
|---|---|
static class |
FieldAnalysisResponse.Analysis
The analysis of a field. |
| Nested classes/interfaces inherited from class org.apache.solr.client.solrj.response.AnalysisResponseBase |
|---|
AnalysisResponseBase.AnalysisPhase, AnalysisResponseBase.TokenInfo |
| Constructor Summary | |
|---|---|
FieldAnalysisResponse()
|
|
| Method Summary | |
|---|---|
Iterable<Map.Entry<String,FieldAnalysisResponse.Analysis>> |
getAllFieldNameAnalysis()
Returns all field name analysese with their associated field names. |
Iterable<Map.Entry<String,FieldAnalysisResponse.Analysis>> |
getAllFieldTypeAnalysis()
Returns all field type analyses with their associated field types. |
FieldAnalysisResponse.Analysis |
getFieldNameAnalysis(String fieldName)
Returns the analysis for the given field name or null if no such analysis exists. |
int |
getFieldNameAnalysisCount()
Returns the number of field name analyses. |
FieldAnalysisResponse.Analysis |
getFieldTypeAnalysis(String fieldTypeName)
Returns the analysis for the given field type or null if no such analysis exists. |
int |
getFieldTypeAnalysisCount()
Returns the number of field type analyses. |
void |
setResponse(NamedList<Object> response)
|
| Methods inherited from class org.apache.solr.client.solrj.response.AnalysisResponseBase |
|---|
buildPhases, buildTokenInfo |
| Methods inherited from class org.apache.solr.client.solrj.response.SolrResponseBase |
|---|
getElapsedTime, getQTime, getRequestUrl, getResponse, getResponseHeader, getStatus, setElapsedTime, setRequestUrl, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FieldAnalysisResponse()
| Method Detail |
|---|
public void setResponse(NamedList<Object> response)
setResponse in class SolrResponseBasepublic int getFieldTypeAnalysisCount()
public FieldAnalysisResponse.Analysis getFieldTypeAnalysis(String fieldTypeName)
null if no such analysis exists.
fieldTypeName - The name of the field type.
public Iterable<Map.Entry<String,FieldAnalysisResponse.Analysis>> getAllFieldTypeAnalysis()
public int getFieldNameAnalysisCount()
public FieldAnalysisResponse.Analysis getFieldNameAnalysis(String fieldName)
null if no such analysis exists.
fieldName - The field name.
public Iterable<Map.Entry<String,FieldAnalysisResponse.Analysis>> getAllFieldNameAnalysis()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||