Conquer COVID-19/Library/PackageCache/com.unity.quicksearch@2.1.0-preview.4/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="minVariations">Minimum number of variations to compute. Cannot be higher than the length of the word.</param>
/// <param name="maxVariations">Maximum number of variations to compute. Cannot be higher than the length of the word.</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 minVariations, int maxVariations, int score, int documentIndex)
        {
            lock (this)
                AddWord(word, minVariations, maxVariations, score, documentIndex, m_BatchIndexes);
        }
public void AddWord ( string word , int minVariations , int maxVariations , int score , int documentIndex ) { lock ( this ) AddWord ( word , minVariations , maxVariations , 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 .
minVariations
int
Minimum number of variations to compute. Cannot be higher than the length of the word.
Minimum number of variations to compute . Cannot be higher than the length of the word .
maxVariations
int
Maximum number of variations to compute. Cannot be higher than the length of the word.
Maximum number of variations to compute . Cannot be higher than the length of the word .
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 .