SearchIndexer.Merge

Declaration

public void Merge(string[] removeDocuments, Search.SearchIndexer other, int baseScore, Action<int,SearchIndexer,int> documentIndexing);

Parameters

removeDocuments Documents to be removed as part of the merge operation. Can be null or empty.
other The other index to be merged into the current one.
baseScore Base score to give to all the merged indexes.
documentIndexing Utility callback used to inject last minutes indexes before merging the indexes of a document.

Description

Merge a search index content into the current index.

This is especially useful to do incremental updates of an index.


Did you find this page useful? Please give it a rating: