Indexer

Indexer class

Represents a service that manages the distribution of indexed documents across shards of the search network.

public sealed class Indexer

Methods

Name Description
Add(ExtractedData[], IndexingOptions) Performs indexing operation. Adds the extracted data to the search network.
Add(Document[], string[], IndexingOptions) Performs indexing operation. Indexing only from stream and structure is supported.
ChangeAttributes(AttributeChangeBatch, ChangeAttributesOptions) Applies the specified batch of attribute changes to indexed documents without reindexing.
Delete(string[], DeleteOptions) Deletes indexed documents.
DeleteAllData() Deletes all indexed data from all shards of the search network.
GetAliasDictionary(int) Gets the alias dictionary.
GetAlphabet(int) Gets the alphabet dictionary.
GetAttributes(string) Gets all the attributes associated with the specified indexed document.
GetCharacterReplacementDictionary(int) Gets the character replacement dictionary.
GetDictionary(DictionaryType, int) Gets a dictionary from the specified shard.
GetHomophoneDictionary(int) Gets the homophone dictionary.
GetPasswordDictionary(int) Gets the password dictionary.
GetSpellingCorrector(int) Gets the spelling corrector dictionary.
GetStopWordDictionary(int) Gets the stop word dictionary.
GetSynonymDictionary(int) Gets the synonym dictionary.
Optimize(OptimizeOptions) Minimizes the number of index segments by merging them one with another. This operation improves search performance.
SetDictionary(DictionaryBase) Sets a dictionary in all shards.
SetDictionary(DictionaryBase, int) Sets a dictionary in the specified shard.
Synchronize(SynchronizeOptions) Synchronizes the list of indexed documents with those on shards. This operation fixes issues with indexing and deletion of documents that resulted from communication problems with the search network nodes.

See Also