Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

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.