Debian Codegraph @

test/command/suite/select/function/snippet_html/empty_query.test

raw
1 table_create Documents TABLE_HASH_KEY ShortText
2 column_create Documents content COLUMN_SCALAR Text
3
4 table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
5 column_create Terms document_index COLUMN_INDEX|WITH_POSITION Documents content
6
7 load --table Documents
8 [
9 ["_key", "content"],
10 ["About Groonga", "Groonga is an open-source fulltext search engine and column store. It lets you write high-performance applications that requires fulltext search."]
11 ]
12
13 select Documents \
14 --match_columns content --query '' \
15 --output_columns 'snippet_html(content)'