| Package | Description |
|---|---|
| org.elasticsearch.action.admin.indices.analyze | |
| org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
| Modifier and Type | Method and Description |
|---|---|
AnalyzeRequestBuilder |
AnalyzeAction.newRequestBuilder(ElasticsearchClient client) |
AnalyzeRequestBuilder |
AnalyzeRequestBuilder.setAnalyzer(String analyzer)
Sets the analyzer name to use in order to analyze the text.
|
AnalyzeRequestBuilder |
AnalyzeRequestBuilder.setAttributes(String attributes)
Sets attributes that will include results
|
AnalyzeRequestBuilder |
AnalyzeRequestBuilder.setCharFilters(String... charFilters)
Sets char filters that will be used before the tokenizer.
|
AnalyzeRequestBuilder |
AnalyzeRequestBuilder.setExplain(boolean explain)
Sets explain
|
AnalyzeRequestBuilder |
AnalyzeRequestBuilder.setField(String field)
Sets the field that its analyzer will be used to analyze the text.
|
AnalyzeRequestBuilder |
AnalyzeRequestBuilder.setText(String... texts)
Sets texts to analyze
|
AnalyzeRequestBuilder |
AnalyzeRequestBuilder.setTokenFilters(String... tokenFilters)
Sets token filters that will be used on top of a tokenizer provided.
|
AnalyzeRequestBuilder |
AnalyzeRequestBuilder.setTokenizer(String tokenizer)
Instead of setting the analyzer, sets the tokenizer that will be used as part of a custom
analyzer.
|
| Modifier and Type | Method and Description |
|---|---|
AnalyzeRequestBuilder |
IndicesAdminClient.prepareAnalyze()
Analyze text/texts.
|
AnalyzeRequestBuilder |
IndicesAdminClient.prepareAnalyze(String text)
Analyze text.
|
AnalyzeRequestBuilder |
IndicesAdminClient.prepareAnalyze(String index,
String text)
Analyze text under the provided index.
|
Copyright © 2009–2017. All rights reserved.