public class AnalysisResponseBase extends SolrResponseBase
Modifier and Type | Class and Description |
---|---|
static class |
AnalysisResponseBase.AnalysisPhase
A phase in the analysis process.
|
static class |
AnalysisResponseBase.TokenInfo
Holds all information of a token as part of an analysis phase.
|
Constructor and Description |
---|
AnalysisResponseBase() |
Modifier and Type | Method and Description |
---|---|
protected List<AnalysisResponseBase.AnalysisPhase> |
buildPhases(NamedList<List<NamedList<Object>>> phaseNL)
Parses the given named list and builds a list of analysis phases form it.
|
protected AnalysisResponseBase.TokenInfo |
buildTokenInfo(NamedList<Object> tokenNL)
Parses the given named list and builds a token infoform it.
|
getElapsedTime, getQTime, getRequestUrl, getResponse, getResponseHeader, getStatus, setElapsedTime, setRequestUrl, setResponse, toString
deserialize, serializable
protected List<AnalysisResponseBase.AnalysisPhase> buildPhases(NamedList<List<NamedList<Object>>> phaseNL)
<lst name="index">
<arr name="Tokenizer">
<str name="text">the_text</str>
<str name="rawText">the_raw_text</str> (optional)
<str name="type">the_type</str>
<int name="start">1</str>
<int name="end">3</str>
<int name="position">1</str>
<bool name="match">true | false</bool> (optional)
</arr>
<arr name="Filter1">
<str name="text">the_text</str>
<str name="rawText">the_raw_text</str> (optional)
<str name="type">the_type</str>
<int name="start">1</str>
<int name="end">3</str>
<int name="position">1</str>
<bool name="match">true | false</bool> (optional)
</arr>
...
</lst>
phaseNL
- The names list to parse.protected AnalysisResponseBase.TokenInfo buildTokenInfo(NamedList<Object> tokenNL)
<arr name="Tokenizer">
<str name="text">the_text</str>
<str name="rawText">the_raw_text</str> (optional)
<str name="type">the_type</str>
<int name="start">1</str>
<int name="end">3</str>
<int name="position">1</str>
<bool name="match">true | false</bool> (optional)
</arr>
tokenNL
- The named list to parse.Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.