File: mix_int.expected

package info (click to toggle)
groonga 11.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 121,576 kB
  • sloc: ansic: 801,209; javascript: 62,121; ruby: 46,206; cpp: 33,790; xml: 24,951; yacc: 13,333; sh: 7,776; python: 3,266; makefile: 2,315; perl: 133
file content (25 lines) | stat: -rw-r--r-- 1,086 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
table_create Values TABLE_NO_KEY
[[0,0.0,0.0],true]
column_create Values int8_value COLUMN_SCALAR Int8
[[0,0.0,0.0],true]
column_create Values uint8_value COLUMN_SCALAR UInt8
[[0,0.0,0.0],true]
column_create Values int16_value COLUMN_SCALAR Int16
[[0,0.0,0.0],true]
column_create Values uint16_value COLUMN_SCALAR UInt16
[[0,0.0,0.0],true]
column_create Values int32_value COLUMN_SCALAR Int32
[[0,0.0,0.0],true]
column_create Values uint32_value COLUMN_SCALAR UInt32
[[0,0.0,0.0],true]
column_create Values int64_value COLUMN_SCALAR Int64
[[0,0.0,0.0],true]
column_create Values uint64_value COLUMN_SCALAR UInt64
[[0,0.0,0.0],true]
load --table Values
[
{"int8_value":-8, "uint8_value": 8, "int16_value":-16, "uint16_value": 16, "int32_value":-32, "uint32_value": 32, "int64_value":-64, "uint64_value": 64}
]
[[0,0.0,0.0],1]
select Values   --filter true   --output_columns '_id,_score'   --scorer '_score = max(int8_value, uint8_value, int16_value, uint16_value, int32_value, uint32_value, int64_value, uint64_value)'
[[0,0.0,0.0],[[[1],[["_id","UInt32"],["_score","Int32"]],[1,64]]]]