Debian Codegraph @

test/command/suite/select/query/asterisk/multiple_indexes.expected

raw
1 table_create Docs TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Docs title COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 column_create Docs body COLUMN_SCALAR Text
6 [[0,0.0,0.0],true]
7 load --table Docs --columns 'title,body'
8 [
9 ["Groonga overview","Full text search engine."],
10 ["Groonga indexes","Groonga uses inverted ind."],
11 ["Conclusion","Groonga is good."]
12 ]
13 [[0,0.0,0.0],3]
14 table_create Idx TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
15 [[0,0.0,0.0],true]
16 column_create Idx title COLUMN_INDEX|WITH_POSITION Docs title
17 [[0,0.0,0.0],true]
18 column_create Idx body COLUMN_INDEX|WITH_POSITION Docs body
19 [[0,0.0,0.0],true]
20 select --table Docs --match_columns 'title||body' --query 'Groo*' --output_columns '_id,_score' --match_escalation_threshold -1
21 [[0,0.0,0.0],[[[3],[["_id","UInt32"],["_score","Int32"]],[1,1],[2,2],[3,1]]]]
22 select --table Docs --match_columns 'body||title' --query 'Groo*' --output_columns '_id,_score' --match_escalation_threshold -1
23 [[0,0.0,0.0],[[[3],[["_id","UInt32"],["_score","Int32"]],[2,2],[3,1],[1,1]]]]