IndexService class

IndexService provides the ability to create and manage full-text indexes, as well as populate them with data, and perform searches.

Constructors

IndexService(Client client)
Default 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

createIndex(CreateIndexRequest createIndexRequest) Future<CreateIndexResponse>
CreateIndex creates a new index.
deleteDoc(DeleteDocRequest deleteDocRequest) Future<DeleteDocResponse>
DeleteDoc removes a document from an Index. Once deleted, it will stop appearing in search results.
deleteIndex(DeleteIndexRequest deleteIndexRequest) Future<DeleteIndexResponse>
DeleteIndex deletes the Index. All index data, as well as any metadata about this Index will be completely deleted.
getIndex(GetIndexRequest getIndexRequest) Future<GetIndexResponse>
GetIndex gets an Index.
getIndexes() Future<GetIndexesResponse>
GetIndexes gets a list of Indexes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putDoc(PutDocRequest putDocRequest) Future<PutDocResponse>
PutDoc puts a document into an Index.
Search performs a search on an Index.
toString() String
A string representation of this object.
inherited

Operators

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