AutocompleteService class

AutocompleteService provides the ability to create and manage autocomplete indexes, as well as populate them with data, and perform lookups.

Constructors

AutocompleteService(Client client)
Constructor

Properties

client Client
The firesearch client
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

complete(CompleteRequest completeRequest) Future<CompleteResponse>
Complete performs a search on an AutocompleteIndex.
createIndex(CreateAutocompleteIndexRequest createAutocompleteIndexRequest) Future<CreateAutocompleteIndexResponse>
CreateIndex creates a new index.
deleteDoc(DeleteAutocompleteDocRequest deleteAutocompleteDocRequest) Future<DeleteAutocompleteDocResponse>
deleteDoc removes a document from an AutocompleteIndex. Once deleted, it will stop appearing in search results.
deleteIndex(DeleteAutocompleteIndexRequest deleteAutocompleteIndexRequest) Future<DeleteAutocompleteIndexResponse>
DeleteIndex deletes the AutocompleteIndex. All index data, as well as any metadata about this AutocompleteIndex will be completely deleted.
getIndex(GetAutocompleteIndexRequest getAutocompleteIndexRequest) Future<GetAutocompleteIndexResponse>
GetIndex gets an AutocompleteIndex.
getIndexes() Future<GetAutocompleteIndexesResponse>
GetIndexes gets a list of AutocompleteIndexes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putDoc(PutAutocompleteDocRequest putAutocompleteDocRequest) Future<PutAutocompleteDocResponse>
PutDoc puts a document into an AutocompleteIndex.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited