Groonga 15.2.3 - 2026-01-15
Fixes
Fixed a bug that Groonga couldn't find records that were added after index construction when centroid_column was used
If this bug occurs, Groonga doesn't return records that added as below.
plugin_register language_model/knn
table_create Data TABLE_NO_KEY
column_create Data text COLUMN_SCALAR ShortText
column_create Data rabitq_code COLUMN_SCALAR ShortBinary
load --table Data
[
{"text": "I am a boy."}
]
table_create RaBitQ TABLE_HASH_KEY UInt32 \
--default_tokenizer \
'TokenLanguageModelKNN("model", "hf:///groonga/multilingual-e5-base-Q4_K_M-GGUF", \
"centroid_column", "centroid", \
"code_column", "rabitq_code", \
"passage_prefix", "passage: ", \
"query_prefix", "query: ")'
column_create RaBitQ centroid COLUMN_VECTOR Float32
column_create RaBitQ data_text COLUMN_INDEX Data text
load --table Data
[
{"text": "This is an apple."}
]
select Data \
--filter 'language_model_knn(text, "fruit")' \
--output_columns text
[
[
0,
0.0,
0.0
],
[
[
[
1
],
[
[
"text",
"ShortText"
]
],
[
"I am a boy."
]
]
]
]