Debian Codegraph @

test/command/suite/select/query/near/inverted_order.test

raw
1 table_create Memos TABLE_PAT_KEY ShortText
2 column_create Memos content COLUMN_SCALAR ShortText
3
4 table_create Terms TABLE_PAT_KEY ShortText \
5 --default_tokenizer TokenBigram \
6 --normalizer NormalizerAuto
7 column_create Terms memos_content COLUMN_INDEX|WITH_POSITION Memos content
8
9 load --table Memos
10 [
11 {"_key":"alphabets1", "content": "a b c"}
12 ]
13
14 select --table Memos --match_columns content --query '*N"c b a"' --output_columns _score,_key