Class SearchIndexStatusUtil
Utility class for managing search index status
Inheritance
System.Object
SearchIndexStatusUtil
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Core.Common.Data
Assembly: ImageVault.Core.dll
Syntax
public static class SearchIndexStatusUtil
Methods
SetNextIndex(SearchIndexStatus, IAssetSearchEngine, Boolean)
Updates NextIndex property to a new entry that matches a new version
Declaration
public static bool SetNextIndex(SearchIndexStatus indexStatus, IAssetSearchEngine searchEngine, bool force = false)
Parameters
Type | Name | Description |
---|---|---|
SearchIndexStatus | indexStatus | The Status to modify |
IAssetSearchEngine | searchEngine | The search engine that should host the index |
System.Boolean | force | True if next version should be updated even if version is ok |
Returns
Type | Description |
---|---|
System.Boolean | True if NextVersion is changed |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |