Full-text search functions

fts:rank

	fts:rank (?match)
      

Returns the rank of a full-text search match. Must be used in conjunction with fts:match.

fts:offsets

	fts:offsets (?match)
      

Returns a string describing the offsets of a full-text search match. Must be used in conjunction with fts:match. The format string has the format:

	prefix:property:offset prefix:property:offset prefix:property:offset
      

fts:snippet

	fts:snippet (?match)
	fts:snippet (?match, ?delimStart, ?delimEnd)
	fts:snippet (?match, ?delimStart, ?delimEnd, ?ellipsis)
	fts:snippet (?match, ?delimStart, ?delimEnd, ?ellipsis, ?numTokens)
      

Returns a snippet string in accordance to the full-text search string. Must be used in conjunction with fts:match.

The ?delimStart and ?delimEnd parameters allow specifying the delimiters of the match strings inside the snippet.

The ?ellipsis parameter allows specifying the string used to separate distant matches in the snippet string.

The ?numTokens parameter specifies the number of tokens the returned string should containt at most.