IndexBuilder
public class IndexBuilder
Index represents an index which could be a value index for regular queries or full-text index for full-text queries (using the match operator).
-
Create a value index with the given index items. The index items are a list of the properties or expressions to be indexed.
Declaration
Swift
public class func valueIndex(items: ValueIndexItem...) -> ValueIndexReturn Value
The ValueIndex.
-
Create a value index with the given index items. The index items are a list of the properties or expressions to be indexed.
Declaration
Swift
public class func valueIndex(items: [ValueIndexItem]) -> ValueIndexParameters
itemsThe index items.
Return Value
The ValueIndex.
-
Create a full-text index with the given index items. Typically the index items are the properties that are used to perform the match operation against with.
Declaration
Swift
public class func fullTextIndex(items: FullTextIndexItem...) -> FullTextIndexReturn Value
The FullTextIndex.
-
Create a full-text index with the given index items. Typically the index items are the properties that are used to perform the match operation against with.
Declaration
Swift
public class func fullTextIndex(items: [FullTextIndexItem]) -> FullTextIndexReturn Value
The FullTextIndex.
IndexBuilder Class Reference