文档

Unity Engine

Unity Engine

Merge(string[], SearchIndexer, int, Action<int, SearchIndexer, int>)

Merge a search index content into the current index.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void Merge(string[] removeDocuments, SearchIndexer other, int baseScore = 0, Action<int, SearchIndexer, int> documentIndexing = null)

Parameters

removeDocuments

Documents to be removed as part of the merge operation. Can be null or empty.

The other index to be merged into the current one.

baseScore

Base score to give to all the merged indexes.

Utility callback used to inject last minutes indexes before merging the indexes of a document.

Remarks

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