Class FullTextFunction
A class that generates functions for use on the results of a full-text search
Inheritance
System.Object
FullTextFunction
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Couchbase.Lite.Query
Assembly: Couchbase.Lite.dll
Syntax
public static class FullTextFunction
Methods
| Improve this Doc View SourceRank(String)
Creates a full-text ranking value function indicating how well the current query result matches the full-text query when performing the match comparison.
Declaration
public static IExpression Rank(string indexName)
Parameters
Type | Name | Description |
---|---|---|
System.String | indexName | The FTS index name to use when performing the calculation |
Returns
Type | Description |
---|---|
IExpression | A function that will perform the ranking |