Debian Codegraph @

test/command/suite/select/function/snippet_html/empty_text.expected

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