|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.client.action.admin.indices.support.BaseIndicesRequestBuilder<AnalyzeRequest,AnalyzeResponse> org.elasticsearch.client.action.admin.indices.analyze.AnalyzeRequestBuilder
public class AnalyzeRequestBuilder
Field Summary |
---|
Fields inherited from class org.elasticsearch.client.action.admin.indices.support.BaseIndicesRequestBuilder |
---|
client, request |
Constructor Summary | |
---|---|
AnalyzeRequestBuilder(IndicesAdminClient indicesClient,
java.lang.String index,
java.lang.String text)
|
Method Summary | |
---|---|
protected void |
doExecute(ActionListener<AnalyzeResponse> listener)
|
AnalyzeRequestBuilder |
setAnalyzer(java.lang.String analyzer)
Sets the analyzer name to use in order to analyze the text. |
AnalyzeRequestBuilder |
setPreferLocal(boolean preferLocal)
if this operation hits a node with a local relevant shard, should it be preferred to be executed on, or just do plain round robin. |
Methods inherited from class org.elasticsearch.client.action.admin.indices.support.BaseIndicesRequestBuilder |
---|
execute, execute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnalyzeRequestBuilder(IndicesAdminClient indicesClient, java.lang.String index, java.lang.String text)
Method Detail |
---|
public AnalyzeRequestBuilder setAnalyzer(java.lang.String analyzer)
analyzer
- The analyzer name.public AnalyzeRequestBuilder setPreferLocal(boolean preferLocal)
protected void doExecute(ActionListener<AnalyzeResponse> listener)
doExecute
in class BaseIndicesRequestBuilder<AnalyzeRequest,AnalyzeResponse>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |