|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.solr.client.solrj.response.DocumentAnalysisResponse.FieldAnalysis
public static class DocumentAnalysisResponse.FieldAnalysis
An analysis process breakdown for a specific field. Holds a list of query time analysis phases (that is, if a query analysis was requested in the first place) and a list of index time analysis phases for each field value (a field can be multi-valued).
Method Summary | |
---|---|
String |
getFieldName()
Returns the field name. |
Iterable<AnalysisResponseBase.AnalysisPhase> |
getIndexPhases(String fieldValue)
Returns the index time analysis phases for the given field value. |
Iterable<Map.Entry<String,List<AnalysisResponseBase.AnalysisPhase>>> |
getIndexPhasesByFieldValue()
Returns the index time analysis phases for all field values. |
int |
getIndexPhasesCount(String fieldValue)
Returns the number of index time analysis phases the given field value has. |
Iterable<AnalysisResponseBase.AnalysisPhase> |
getQueryPhases()
Returns the query time analysis phases for the field or null
if this field doesn't hold a query time analysis. |
int |
getQueryPhasesCount()
Returns the number of query time analysis phases or -1 if
this field analysis doesn't hold a query time analysis. |
int |
getValueCount()
Returns the number of values the field has. |
void |
setIndexPhases(String fieldValue,
List<AnalysisResponseBase.AnalysisPhase> indexPhases)
|
void |
setQueryPhases(List<AnalysisResponseBase.AnalysisPhase> queryPhases)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setQueryPhases(List<AnalysisResponseBase.AnalysisPhase> queryPhases)
public void setIndexPhases(String fieldValue, List<AnalysisResponseBase.AnalysisPhase> indexPhases)
public String getFieldName()
public int getQueryPhasesCount()
-1
if
this field analysis doesn't hold a query time analysis.
-1
if this field analysis doesn't hold a query time analysis.public Iterable<AnalysisResponseBase.AnalysisPhase> getQueryPhases()
null
if this field doesn't hold a query time analysis.
null
if this field doesn't hold a query time analysis.public int getValueCount()
public int getIndexPhasesCount(String fieldValue)
fieldValue
- The field value.
public Iterable<AnalysisResponseBase.AnalysisPhase> getIndexPhases(String fieldValue)
fieldValue
- The field value.
public Iterable<Map.Entry<String,List<AnalysisResponseBase.AnalysisPhase>>> getIndexPhasesByFieldValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |