test/command/suite/select/output/reference/weight/vector/bfloat16.test
raw| 1 | #@require-feature bfloat16 |
| 2 | |
| 3 | table_create Tags TABLE_PAT_KEY ShortText |
| 4 | |
| 5 | table_create Memos TABLE_HASH_KEY ShortText |
| 6 | column_create Memos tags COLUMN_VECTOR|WITH_WEIGHT|WEIGHT_BFLOAT16 Tags |
| 7 | |
| 8 | load --table Memos |
| 9 | [ |
| 10 | { |
| 11 | "_key": "Groonga is fast", |
| 12 | "tags": { |
| 13 | "groonga": 2.8, |
| 14 | "full text search": 1.2 |
| 15 | } |
| 16 | } |
| 17 | ] |
| 18 | |
| 19 | select Memos |