Conquer COVID-19/Library/PackageCache/com.unity.quicksearch@2.1.0-preview.4/Editor/Indexing/SearchIndexer.cs
/// <summary>
/// Add a property value to the index. A property is specified with a key and a string value. The value will be stored with multiple variations.
/// </summary>
/// <param name="key">Key used to retrieve the value.</param>
/// <param name="value">String value to store in the index.</param>
/// <param name="documentIndex">Document where the indexed value was found.</param>
/// <param name="saveKeyword">Define if we store this key in the keyword registry of the index. See <see cref="SearchIndexer.GetKeywords"/>.</param>
/// <param name="exact">If true, we will store also an exact match entry for this word.</param>
Add a property value to the index. A property is specified with a key and a string value. The value will be stored with multiple variations.
Add a property value to the index . A property is specified with a key and a string value . The value will be stored with multiple variations .
public void AddProperty(string key, string value, int documentIndex, bool saveKeyword = false, bool exact = true)
        {
            lock (this)
                AddProperty(key, value, 2, value.Length, 0, documentIndex, m_BatchIndexes, exact, saveKeyword);
        }
public void AddProperty ( string key , string value , int documentIndex , bool saveKeyword = false , bool exact = true ) { lock ( this ) AddProperty ( key , value , 2 , value . Length , 0 , documentIndex , m_BatchIndexes , exact , saveKeyword ) ; }
Add a property value to the index.
Add a property value to the index .
key
string
Key used to retrieve the value.
Key used to retrieve the value .
value
string
String value to store in the index.
String value to store in the index .
documentIndex
int
Document where the indexed value was found.
Document where the indexed value was found .
saveKeyword
bool
Define if we store this key in the keyword registry of the index. See .
Define if we store this key in the keyword registry of the index . See .
exact
bool
If true, we will store also an exact match entry for this word.
If true we will store also an exact match entry for this word .