Class GetSynonymRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.synonyms.GetSynonymRequest
Get a synonym set.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<GetSynonymRequest,GetSynonymResponse, ErrorResponse> Endpoint "synonyms.get_synonym". -
Method Summary
Modifier and TypeMethodDescriptionfinal Integerfrom()The starting offset for synonym rules to retrieve.final Stringid()Required - The synonyms set identifier to retrieve.static GetSynonymRequestrebuild()final StringThe synonym rule ID to use as a cursor for pagination.final Integersize()The max number of synonym rules to retrieve.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "synonyms.get_synonym".
-
-
Method Details
-
of
public static GetSynonymRequest of(Function<GetSynonymRequest.Builder, ObjectBuilder<GetSynonymRequest>> fn) -
from
The starting offset for synonym rules to retrieve.API name:
from -
id
Required - The synonyms set identifier to retrieve.API name:
id -
searchAfter
The synonym rule ID to use as a cursor for pagination. The next page of results will start after this rule ID. This parameter cannot be used withfrom.API name:
search_after -
size
The max number of synonym rules to retrieve.API name:
size -
rebuild
- Returns:
- New
GetSynonymRequest.Builderinitialized with field values of this instance
-