 | Function Class |
Provides functions for use within the fluent query API. These methods are intended to be used
with the methods provided by the
IFulltextQueryTDocument interface.
Inheritance Hierarchy Namespace: SphinxConnector.FluentApiAssembly: SphinxConnector (in SphinxConnector.dll) Version: 6.0.0
Syntaxpublic static class Function
Public NotInheritable Class Function
The Function type exposes the following members.
Methods| | Name | Description |
|---|
  | BitdotT |
Returns the sum of products of each bit of a mask multiplied with its weight.
|
  | Crc32 |
Calculates the CRC32 value for a string.
|
  | ExistT |
Returns the value of the attribute if it exists in the index(es), otherwise returns the provided default value.
|
  | Fibonacci |
Calculates the n-th Fibonacci number.
|
   | Geodist(Single, Single, Single, Single) |
Calculates the geosphere distance between the two points given by their coordinates. The
coordinates must be provided in radians.
|
  | Geodist(Single, Single, Single, Single, GeodistanceOptions) |
Calculates the geosphere distance between the two points given by their coordinates.
|
  | GroupByT |
Returns the value by which a grouping was made.
|
  | Idiv |
Returns the result of an integer division of the first argument by the second argument.
|
  | MinTopSortValue |
Returns the sort key value of the worst found element in the current top-N matches if sort key is float and 0 otherwise.
|
  | MinTopWeight |
Returns the weight of the worst found element in the current top-N matches.
|
  | PackedFactors |
Can be used in queries to see all the weighting factors calculated when doing the matching. This function works only if
expression ranker is specified and the query is not a full scan, otherwise it will return an error.
|
  | Rand |
Returns a random value.
|
  | Sint(ExpressionFuncInt64) |
Force Sphinx to reinterpret the given 32-bit unsigned integer argument as signed, and to also expand it to 64-bit type.
|
  | Sint(Int64) |
Force Sphinx to reinterpret the given 32-bit unsigned integer argument as signed, and to also expand it to 64-bit type.
|
  | ZonespanList |
Returns pairs of matched zone spans.
|
Top
Remarks
These methods must not be used outside the fluent API, as they are only implemented as stubs.
See Also