"Fossies" - the Fresh Open Source Software Archive

Member "groonga-10.0.8/test/command/suite/select/match_columns/section/by_column/1_item.expected" (22 Oct 2020, 1068 Bytes) of package /linux/misc/groonga-10.0.8.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 table_create Memos TABLE_NO_KEY
    2 [[0,0.0,0.0],true]
    3 column_create Memos title COLUMN_SCALAR ShortText
    4 [[0,0.0,0.0],true]
    5 column_create Memos content COLUMN_SCALAR ShortText
    6 [[0,0.0,0.0],true]
    7 table_create Lexicon TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram
    8 [[0,0.0,0.0],true]
    9 column_create Lexicon memo_index COLUMN_INDEX|WITH_POSITION|WITH_SECTION   Memos title,content
   10 [[0,0.0,0.0],true]
   11 load --table Memos
   12 [
   13 ["title", "content"],
   14 ["Groonga", "Start Groonga!"],
   15 ["Mroonga", "Start Mroonga!"],
   16 ["Rroonga", "Start Rroonga!"],
   17 ["Ruby", "Start Ruby!"],
   18 ["learn", "Learning Ruby and Groonga..."]
   19 ]
   20 [[0,0.0,0.0],5]
   21 select Memos   --match_columns title   --query Ruby   --output_columns "title, content, _score"
   22 [
   23   [
   24     0,
   25     0.0,
   26     0.0
   27   ],
   28   [
   29     [
   30       [
   31         1
   32       ],
   33       [
   34         [
   35           "title",
   36           "ShortText"
   37         ],
   38         [
   39           "content",
   40           "ShortText"
   41         ],
   42         [
   43           "_score",
   44           "Int32"
   45         ]
   46       ],
   47       [
   48         "Ruby",
   49         "Start Ruby!",
   50         1
   51       ]
   52     ]
   53   ]
   54 ]