Library/PackageCache/com.unity.quicksearch@1.6.0-preview.8/Editor/Indexing/SearchIndexer.cs
/// <summary>
/// Add a new word coming from a specific document to the index. The word will be added with multiple variations allowing partial search.
/// </summary>
/// <param name="word">Word to add to the index.</param>
/// <param name="size">Number of variations to compute.</param>
/// <param name="score">Relevance score of the word.</param>
/// <param name="documentIndex">Document where the indexed word was found.</param>
Add a new word coming from a specific document to the index. The word will be added with multiple variations allowing partial search.
Add a new word coming from a specific document to the index . The word will be added with multiple variations allowing partial search .
public void AddWord(string word, int size, int score, int documentIndex)
        {
            lock (this)
                AddWord(word, size, size, score, documentIndex, m_BatchIndexes);
        }
public void AddWord ( string word , int size , int score , int documentIndex ) { lock ( this ) AddWord ( word , size , size , score , documentIndex , m_BatchIndexes ) ; }
Add a new word coming from a specific document to the index.
Add a new word coming from a specific document to the index .
word
string
Word to add to the index.
Word to add to the index .
size
int
Number of variations to compute.
Number of variations to compute .
score
int
Relevance score of the word.
Relevance score of the word .
documentIndex
int
Document where the indexed word was found.
Document where the indexed word was found .