Syntax
Arguments
Returned value
A table object with tokens and their posting list metadata. If the index uses thekeyValuePairs tokenizer, each token is a (key, value) pair of a Map column, and the result has two additional columns token_key and token_value with the decoded parts of the token.
The posting lists of the tokens are returned in the following virtual columns. They are not returned by SELECT * and must be selected explicitly.
If any of these columns is selected, the result has a row for each row in the posting list of each token, like
ARRAY JOIN of the posting list: the other columns of the token are repeated in each of them.
The posting lists are returned as they are stored in the index of the data part, so they include the rows deleted by lightweight DELETE (see _row_exists) until the part is merged.
Usage Example
Query
Response
Usage Example: Posting Lists
Query
Response