Merge(string[], SearchIndexer, int, Action<int, SearchIndexer, int>)
Merge a search index content into the current index.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public void Merge(string[] removeDocuments, SearchIndexer other, int baseScore = 0, Action<int, SearchIndexer, int> documentIndexing = null)
Parameters
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.
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.