Functions to access the range index.
Search for nodes matching the given keys in the range index. Normally this function will be called by the query optimizer.
$nodes* | The node set to search using a range index which is defined on those nodes |
$key* | The key to look up. |
Search for nodes matching the given keys in the range index. Normally this function will be called by the query optimizer.
$nodes* | The node set to search using a range index which is defined on those nodes |
$key* | The key to look up. |
Search for nodes matching the given keys in the range index. Normally this function will be called by the query optimizer.
$nodes* | The node set to search using a range index which is defined on those nodes |
$key* | The key to look up. |
General field lookup function. Normally this will be used by the query optimizer.
$fields+ | The name of the field(s) to search |
$operators+ | The operators to use as strings: eq, lt, gt, contains ... |
$keys* | The keys to look up for each field. |
Used by optimizer to optimize a contains() function call
$fields+ | The name of the field(s) to search |
$keys* | The keys to look up for each field. |
Used by optimizer to optimize a ends-with() function call
$fields+ | The name of the field(s) to search |
$keys* | The keys to look up for each field. |
General field lookup function based on equality comparison. Normally this will be used by the query optimizer.
$fields+ | The name of the field(s) to search |
$keys* | The keys to look up for each field. |
General field lookup function based on greater-than-equal comparison. Normally this will be used by the query optimizer.
$fields+ | The name of the field(s) to search |
$keys* | The keys to look up for each field. |
General field lookup function based on greater-than comparison. Normally this will be used by the query optimizer.
$fields+ | The name of the field(s) to search |
$keys* | The keys to look up for each field. |
General field lookup function based on less-than-equal comparison. Normally this will be used by the query optimizer.
$fields+ | The name of the field(s) to search |
$keys* | The keys to look up for each field. |
General field lookup function based on less-than comparison. Normally this will be used by the query optimizer.
$fields+ | The name of the field(s) to search |
$keys* | The keys to look up for each field. |
Used by optimizer to optimize a matches() function call
$fields+ | The name of the field(s) to search |
$keys* | The keys to look up for each field. |
General field lookup function based on non-equality comparison. Normally this will be used by the query optimizer.
$fields+ | The name of the field(s) to search |
$keys* | The keys to look up for each field. |
Used by optimizer to optimize a starts-with() function call
$fields+ | The name of the field(s) to search |
$keys* | The keys to look up for each field. |
Search for nodes matching the given keys in the range index. Normally this function will be called by the query optimizer.
$nodes* | The node set to search using a range index which is defined on those nodes |
$key* | The key to look up. |
Search for nodes matching the given keys in the range index. Normally this function will be called by the query optimizer.
$nodes* | The node set to search using a range index which is defined on those nodes |
$key* | The key to look up. |
Retrieve all index keys contained in a range index which has been defined with a field name. Similar toutil:index-keys, but works with fields.
$field | The field to use |
$function-reference | The function reference as created by the util:function function. It can be an arbitrary user-defined function, but it should take exactly 2 arguments: 1) the current index key as found in the range index as an atomic value, 2) a sequence containing three int values: a) the overall frequency of the key within the node set, b) the number of distinct documents in the node set the key occurs in, c) the current position of the key in the whole list of keys returned. |
$max-number-returned? | The maximum number of returned keys |
Retrieve all index keys contained in a range index which has been defined with a field name. Similar toutil:index-keys, but works with fields.
$field | The field to use |
$start-value? | Only index keys of the same type but being greater than $start-value will be reported for non-string types. For string types, only keys starting with the given prefix are reported. |
$function-reference | The function reference as created by the util:function function. It can be an arbitrary user-defined function, but it should take exactly 2 arguments: 1) the current index key as found in the range index as an atomic value, 2) a sequence containing three int values: a) the overall frequency of the key within the node set, b) the number of distinct documents in the node set the key occurs in, c) the current position of the key in the whole list of keys returned. |
$max-number-returned? | The maximum number of returned keys |
Search for nodes matching the given keys in the range index. Normally this function will be called by the query optimizer.
$nodes* | The node set to search using a range index which is defined on those nodes |
$key* | The key to look up. |
Search for nodes matching the given keys in the range index. Normally this function will be called by the query optimizer.
$nodes* | The node set to search using a range index which is defined on those nodes |
$key* | The key to look up. |
Search for nodes matching the given keys in the range index. Normally this function will be called by the query optimizer.
$nodes* | The node set to search using a range index which is defined on those nodes |
$regex* | The regular expression. |
Search for nodes matching the given keys in the range index. Normally this function will be called by the query optimizer.
$nodes* | The node set to search using a range index which is defined on those nodes |
$key* | The key to look up. |
Calls Lucene's optimize method to merge all index segments into a single one. This is a costly operation and should not be used except for data sets which can be expected to remain unchanged for a while. The optimize will block the index for other write operations and may take some time. You need to be a user in group dba to call this function.
Search for nodes matching the given keys in the range index. Normally this function will be called by the query optimizer.
$nodes* | The node set to search using a range index which is defined on those nodes |
$key* | The key to look up. |