| 1 | # News - 15 series |
| 2 | |
| 3 | (release-15-2-5)= |
| 4 | |
| 5 | ## Release 15.2.5 - 2026-01-30 |
| 6 | |
| 7 | ### Fixes |
| 8 | |
| 9 | #### Fixed a compatibility bug with the `ShortBinary`, `Binary`, `LongBinary`, and `JSON` types |
| 10 | |
| 11 | Fixed a bug that prevented the `ShortBinary`, `Binary`, and `LongBinary` types added in {ref}`release-15-1-8`, and the `JSON` type added in {ref}`release-15-2-3`, from working correctly in databases created before those versions. |
| 12 | |
| 13 | Additionally, a bug that caused Groonga databases created with versions before {ref}`release-15-2-1` to crash when opened in {ref}`release-15-2-3` or later, when the {doc}`/reference/commands/schema` command was executed, has been fixed. |
| 14 | |
| 15 | When upgrading from Groonga versions before 15.2.1, please upgrade to version 15.2.5 or later. |
| 16 | |
| 17 | You can resolve this issue by upgrading to version 15.2.5, even if you have already upgraded to versions 15.2.3 or 15.2.4. |
| 18 | |
| 19 | (release-15-2-4)= |
| 20 | |
| 21 | ## Release 15.2.4 - 2026-01-29 |
| 22 | |
| 23 | ### Improvements |
| 24 | |
| 25 | #### [{doc}`/reference/executables/grndb`] Added support for closing used object immediately in `grndb check`. |
| 26 | |
| 27 | We can reduce memory usage by this. |
| 28 | |
| 29 | We used to leave used object opened on memory. |
| 30 | We needed too much memory if we checked a large database by using `grndb check`. |
| 31 | Therefore, `grndb check` is not practical on low-memory environment because it takes a long time to complete check. |
| 32 | |
| 33 | We can complete `grndb check` within a realistic time even if we use low-memory environment by this modification. |
| 34 | |
| 35 | (release-15-2-3)= |
| 36 | |
| 37 | ## Release 15.2.3 - 2026-01-15 |
| 38 | |
| 39 | ### Fixes |
| 40 | |
| 41 | #### Fixed a bug that Groonga couldn't find records that were added after index construction when `centroid_column` was used |
| 42 | |
| 43 | If this bug occurs, Groonga doesn't return records that added as below. |
| 44 | |
| 45 | ``` |
| 46 | plugin_register language_model/knn |
| 47 | |
| 48 | table_create Data TABLE_NO_KEY |
| 49 | column_create Data text COLUMN_SCALAR ShortText |
| 50 | column_create Data rabitq_code COLUMN_SCALAR ShortBinary |
| 51 | |
| 52 | load --table Data |
| 53 | [ |
| 54 | {"text": "I am a boy."} |
| 55 | ] |
| 56 | |
| 57 | table_create RaBitQ TABLE_HASH_KEY UInt32 \ |
| 58 | --default_tokenizer \ |
| 59 | 'TokenLanguageModelKNN("model", "hf:///groonga/multilingual-e5-base-Q4_K_M-GGUF", \ |
| 60 | "centroid_column", "centroid", \ |
| 61 | "code_column", "rabitq_code", \ |
| 62 | "passage_prefix", "passage: ", \ |
| 63 | "query_prefix", "query: ")' |
| 64 | column_create RaBitQ centroid COLUMN_VECTOR Float32 |
| 65 | column_create RaBitQ data_text COLUMN_INDEX Data text |
| 66 | |
| 67 | load --table Data |
| 68 | [ |
| 69 | {"text": "This is an apple."} |
| 70 | ] |
| 71 | |
| 72 | select Data \ |
| 73 | --filter 'language_model_knn(text, "fruit")' \ |
| 74 | --output_columns text |
| 75 | [ |
| 76 | [ |
| 77 | 0, |
| 78 | 0.0, |
| 79 | 0.0 |
| 80 | ], |
| 81 | [ |
| 82 | [ |
| 83 | [ |
| 84 | 1 |
| 85 | ], |
| 86 | [ |
| 87 | [ |
| 88 | "text", |
| 89 | "ShortText" |
| 90 | ] |
| 91 | ], |
| 92 | [ |
| 93 | "I am a boy." |
| 94 | ] |
| 95 | ] |
| 96 | ] |
| 97 | ] |
| 98 | ``` |
| 99 | |
| 100 | ### Experimental features |
| 101 | |
| 102 | > These features are still experimental and unstable. |
| 103 | > We must not use these features in production. |
| 104 | |
| 105 | #### Bundled OpenZL |
| 106 | |
| 107 | [OpenZL](https://openzl.org/) is a compression framework. It provides high compression ratios and high speed. |
| 108 | |
| 109 | We can specify `COMPRESS_OPENZL` in `column_create`, but if we specify `COMPRESS_OPENZL`, it doesn't work yet. |
| 110 | Because we haven't implemented the feature for compression and decompression. |
| 111 | |
| 112 | #### Added support for JSON type |
| 113 | |
| 114 | We can `load` and `dump` against some data types. |
| 115 | However, we don't implement other features yet. |
| 116 | |
| 117 | (release-15-2-1)= |
| 118 | |
| 119 | ## Release 15.2.1 - 2025-12-02 |
| 120 | |
| 121 | ### Improvements |
| 122 | |
| 123 | #### [{doc}`/reference/commands/column_create`] Added support for progress log of index construction |
| 124 | |
| 125 | You can view the progress log during offline index construction. |
| 126 | |
| 127 | The default log level is `debug`. This means you must enable debug level logging to view progress logs. |
| 128 | If you set the log level to `notice`, you can view progress logs without other debug logs. |
| 129 | |
| 130 | #### [{doc}`/reference/tokenizers/token_language_model_knn`] Added `centroid_column` option |
| 131 | |
| 132 | This option is for large embeddings with more than 1025 dimensions (more than 4100 bytes). |
| 133 | Groonga table keys must be 4 KiB or smaller. Embeddings larger than 4 KiB cannot be stored as keys. |
| 134 | |
| 135 | You can use this option to store large embeddings in a column instead of in the table key. |
| 136 | Specify the column for storing embeddings and add it to the table for the index as below. |
| 137 | |
| 138 | ``` |
| 139 | table_create LargeCentroids TABLE_HASH_KEY UInt32 \ |
| 140 | --default_tokenizer \ |
| 141 | 'TokenLanguageModelKNN("model", "hf:///groonga/multilingual-e5-base-Q4_K_M-GGUF", \ |
| 142 | "centroid_column", "centroid", \ |
| 143 | "code_column", "embedding_code", \ |
| 144 | "passage_prefix", "passage: ", \ |
| 145 | "query_prefix", "query: ")' |
| 146 | column_create LargeCentroids centroid COLUMN_VECTOR Float32 |
| 147 | column_create LargeCentroids data_content COLUMN_INDEX Memos content |
| 148 | ``` |
| 149 | |
| 150 | #### [{doc}`/reference/tokenizers/token_language_model_knn`] Added `n_gpu_layers` option |
| 151 | |
| 152 | Specify the number of GPU layers to use for language model. |
| 153 | If not specified, Groonga uses GPU as much as possible. |
| 154 | |
| 155 | In most cases, you don't need to set this option explicitly. |
| 156 | |
| 157 | To disable GPU usage, set `n_gpu_layers` to 0. |
| 158 | |
| 159 | #### [{doc}`/reference/functions/language_model_knn`] Added `k` option |
| 160 | |
| 161 | Specify the number of records to return. |
| 162 | If you don't set this option, the upper limit of the number of returned records is `10`. |
| 163 | |
| 164 | You can specify a negative value. It means: (number of matched records) + `k` + 1. |
| 165 | For example, `"{ "k" : -1 }"` outputs all records. It’s a very useful value to show all records. |
| 166 | |
| 167 | ### Fixes |
| 168 | |
| 169 | #### Fixed a bug that causes overflow in the key of `TABLE_PAT_KEY` tables. |
| 170 | |
| 171 | This issue is found in PGroonga by [pgroonga/pgroonga#901](https://github.com/pgroonga/pgroonga/issues/901). |
| 172 | If you execute offline index construction against a column that has a large size value (When the size of a token is 4096 bytes after tokenization), the index may be broken. |
| 173 | |
| 174 | Reported by lilydjwg. |
| 175 | |
| 176 | ### Thanks |
| 177 | |
| 178 | - lilydjwg |
| 179 | |
| 180 | (release-15-2-0)= |
| 181 | |
| 182 | ## Release 15.2.0 - 2025-11-10 |
| 183 | |
| 184 | In this release, we provide packages for Ubuntu that are provided for PPA (Personal Package Archive) again by resolving the issue causing the build failure. |
| 185 | |
| 186 | ### Fixes |
| 187 | |
| 188 | [{doc}`/install/ubuntu`] Provided packages for Ubuntu that are provided for PPA (Personal Package Archive) again |
| 189 | |
| 190 | We couldn't provide packages for Ubuntu that are provided for PPA (Personal Package Archive) in Groonga 15.1.8 and 15.1.9 due to a build failure in Launchpad. |
| 191 | |
| 192 | In this release, we provide packages for Ubuntu again by resolving the issue causing the build failure. |
| 193 | |
| 194 | (release-15-1-9)= |
| 195 | |
| 196 | ## Release 15.1.9 - 2025-11-05 |
| 197 | |
| 198 | In this release, we added support for parallel vectorization. |
| 199 | |
| 200 | ### Improvements |
| 201 | |
| 202 | #### Added support for parallel vectorization |
| 203 | |
| 204 | We can execute parallel vectorization in {doc}`/reference/functions/language_model_knn`, {doc}`/reference/tokenizers/token_language_model_knn`, and {doc}`/reference/functions/language_model_vectorize`. |
| 205 | |
| 206 | If we set `--n-default-workers=-1`, Groonga executes in parallel using up to as many threads as the number of CPU cores; however, this setting will not be optimal because it's based on the number of CPUs. |
| 207 | |
| 208 | We must check GPU usage not CPU usage for the optimal number of workers. |
| 209 | |
| 210 | #### [{doc}`/reference/tokenizers/token_language_model_knn`] Added support for prefix |
| 211 | |
| 212 | Some models such as multilingual-e5 require a prefix for search target texts and query texts. |
| 213 | This improvement adds support for these cases. |
| 214 | |
| 215 | - `passage_prefix` is the prefix for search target text. |
| 216 | - `query_prefix` is the prefix for query text. |
| 217 | |
| 218 | For example, we can set `passage: ` prefix in search target text and `query: ` prefix in query text as below. |
| 219 | |
| 220 | ``` |
| 221 | TokenLanguageModelKNN("model", "hf:///groonga/multilingual-e5-base-Q4_K_M-GGUF", \ |
| 222 | "code_column", "rabitq_code", \ |
| 223 | "passage_prefix", "passage: ", \ |
| 224 | "query_prefix", "query: ") |
| 225 | ``` |
| 226 | |
| 227 | (release-15-1-8)= |
| 228 | |
| 229 | ## Release 15.1.8 - 2025-10-31 |
| 230 | |
| 231 | In this release, semantic search is supported. |
| 232 | |
| 233 | ### Improvements |
| 234 | |
| 235 | #### [{doc}`/reference/commands/status`] Added `.["features"]["faiss"]` entry |
| 236 | |
| 237 | The `.["features"]` entry shows whether each feature is enabled or not like the following: |
| 238 | |
| 239 | ```json |
| 240 | [ |
| 241 | ["..."], |
| 242 | { |
| 243 | "...": "...", |
| 244 | "features": { |
| 245 | "nfkc": true, |
| 246 | "mecab": true, |
| 247 | "...": "..." |
| 248 | }, |
| 249 | "...": "..." |
| 250 | } |
| 251 | ] |
| 252 | ``` |
| 253 | |
| 254 | This release added `faiss` to the `.["features"]` entry: |
| 255 | |
| 256 | ```json |
| 257 | [ |
| 258 | ["..."], |
| 259 | { |
| 260 | "...": "...", |
| 261 | "features": { |
| 262 | "nfkc": true, |
| 263 | "mecab": true, |
| 264 | "...": "...", |
| 265 | "faiss": true, |
| 266 | "...": "..." |
| 267 | }, |
| 268 | "...": "..." |
| 269 | } |
| 270 | ] |
| 271 | ``` |
| 272 | |
| 273 | You can use `.["features"]["faiss"]` to know whether [Faiss](https://github.com/facebookresearch/faiss) is enabled or not. |
| 274 | |
| 275 | You need the Faiss support to use semantic search described next. |
| 276 | |
| 277 | #### Supported semantic search |
| 278 | |
| 279 | This feature is still experimental and unstable. |
| 280 | |
| 281 | Added {doc}`/reference/tokenizers/token_language_model_knn` tokenizer and {doc}`/reference/functions/language_model_knn` function. |
| 282 | Using these together you can do semantic search. |
| 283 | |
| 284 | Here is an example of semantic search. |
| 285 | |
| 286 | ``` |
| 287 | select Data \ |
| 288 | --filter 'language_model_knn(text, "male child")' \ |
| 289 | --output_columns text |
| 290 | ``` |
| 291 | |
| 292 | ``` |
| 293 | [ |
| 294 | [ |
| 295 | 0, |
| 296 | 0.0, |
| 297 | 0.0 |
| 298 | ], |
| 299 | [ |
| 300 | [ |
| 301 | [ |
| 302 | 3 |
| 303 | ], |
| 304 | [ |
| 305 | [ |
| 306 | "text", |
| 307 | "ShortText" |
| 308 | ] |
| 309 | ], |
| 310 | [ |
| 311 | "I am a boy." |
| 312 | ], |
| 313 | [ |
| 314 | "This is an apple." |
| 315 | ], |
| 316 | [ |
| 317 | "Groonga is a full text search engine." |
| 318 | ] |
| 319 | ] |
| 320 | ] |
| 321 | ] |
| 322 | ``` |
| 323 | |
| 324 | The important feature is that it searches using text, just like keyword search. |
| 325 | Internally, Groonga creates embedding automatically and use it for semantic search. |
| 326 | |
| 327 | Users do not need to create embeddings and search using them. |
| 328 | You can do semantic search with text, just like keyword search. |
| 329 | |
| 330 | We omitted examples, but the same works when loading text for search. |
| 331 | Simply load text into Groonga as before, and you can do semantic search. |
| 332 | Users don't need to create embeddings and load them. |
| 333 | This is because Groonga automatically generates embeddings as well. |
| 334 | |
| 335 | For details on setting up indexes and more, see the pages for {doc}`/reference/tokenizers/token_language_model_knn` tokenizer and {doc}`/reference/functions/language_model_knn` function. |
| 336 | |
| 337 | #### [{doc}`/reference/functions/language_model_vectorize`] Added support for auto download from Hugging Face |
| 338 | |
| 339 | This feature is still experimental and unstable. |
| 340 | |
| 341 | Specifying a Hugging Face URI in `model_name` will automatically download the language model. |
| 342 | The model is downloaded during the first execution and located in the Groonga database directory. |
| 343 | Subsequent executions use the local model files. |
| 344 | |
| 345 | ``` |
| 346 | language_model_vectorize("hf:///groonga/all-MiniLM-L6-v2-Q4_K_M-GGUF", content) |
| 347 | ``` |
| 348 | |
| 349 | Using this feature is useful because Groonga handles the download and placement. |
| 350 | |
| 351 | #### [{doc}`/reference/types`] Add `ShortBinary`, `Binary` and `LongBinary` |
| 352 | |
| 353 | This feature is still experimental and unstable. |
| 354 | |
| 355 | (release-15-1-7)= |
| 356 | |
| 357 | ## Release 15.1.7 - 2025-09-29 |
| 358 | |
| 359 | In this release, `NormalizerNFKC` can normalize Japanese iteration marks and fixed installation failure on AlmaLinux 10. |
| 360 | |
| 361 | ### Improvements |
| 362 | |
| 363 | #### [{doc}`/reference/executables/grndb`] Improved error handling for large database files |
| 364 | |
| 365 | Previously, `grndb` terminated abnormally when processing database files that |
| 366 | exceeded the filesystem stat limit (such as files files larger than 2GB on |
| 367 | Windows). |
| 368 | In this release, when `grndb` processes such files in the Groonga database |
| 369 | directory (the db file and related db.\* files), it records an error for each |
| 370 | problematic file and continues to completion without aborting. |
| 371 | |
| 372 | #### [{ref}`normalizer-nfkc-unify-iteration-mark`] Added support for iteration marks with `unify_iteration_mark` option |
| 373 | |
| 374 | The `unify_iteration_mark` option now supports additional iteration mark characters. |
| 375 | This option treats iteration marks as repeats of the immediately preceding character as below. |
| 376 | |
| 377 | - Hiragana Iteration Mark ゝ (U+309D) |
| 378 | - Hiragana Voiced Iteration Mark ゞ (U+309E) |
| 379 | - Katakana Iteration Mark ヽ (U+30FD) |
| 380 | - Katakana Voiced Iteration Mark ヾ (U+30FE) |
| 381 | - Ideographic Iteration Mark 々 (U+3005) - limitation: only repeats the immediately preceding single character |
| 382 | - Vertical Ideographic Iteration Mark 〻 (U+303B) - limitation: only repeats the immediately preceding single character |
| 383 | |
| 384 | Here is an example of using `unify_iteration_mark` option. |
| 385 | |
| 386 | ``` |
| 387 | normalize \ |
| 388 | 'NormalizerNFKC("unify_iteration_mark", true)' \ |
| 389 | "こゝろ" |
| 390 | [ |
| 391 | [ |
| 392 | 0, |
| 393 | 1758763896.821301, |
| 394 | 0.0001749992370605469 |
| 395 | ], |
| 396 | { |
| 397 | "normalized": "こころ", |
| 398 | "types": [ |
| 399 | ], |
| 400 | "checks": [ |
| 401 | ] |
| 402 | } |
| 403 | ] |
| 404 | ``` |
| 405 | |
| 406 | ```{note} |
| 407 | For Ideographic Iteration Mark (々) and Vertical Ideographic Iteration Mark (〻), this feature only repeats the immediately preceding single character. |
| 408 | Patterns beyond **repeat the previous one character** are **not** supported like the following cases. |
| 409 | |
| 410 | Examples: |
| 411 | - "部分々々" -> "部分部分" |
| 412 | - "古々々米" -> "古古古米" |
| 413 | ``` |
| 414 | |
| 415 | #### Added new command to list available commands |
| 416 | |
| 417 | A new `command_list` command has been added that returns a list of all available |
| 418 | Groonga commands. |
| 419 | Currently, this command returns only the command ID and name for each command. |
| 420 | Using this command could enable automatic generation of client library APIs |
| 421 | and help implement Groonga MCP (Model Context Protocol) servers. |
| 422 | In future releases, we plan to expand the output to include command summaries, |
| 423 | descriptions, and detailed argument information. |
| 424 | |
| 425 | ``` |
| 426 | command_list |
| 427 | [ |
| 428 | [ |
| 429 | 0, |
| 430 | 1758764636.669152, |
| 431 | 0.0002362728118896484 |
| 432 | ], |
| 433 | { |
| 434 | "cache_limit": { |
| 435 | "id": 150, |
| 436 | "name": "cache_limit" |
| 437 | }, |
| 438 | ... |
| 439 | } |
| 440 | ] |
| 441 | ``` |
| 442 | |
| 443 | #### [{doc}`/reference/token_filters/token_filter_stem`] Added support for non-ASCII alphabets |
| 444 | |
| 445 | [GH-2539](https://github.com/groonga/groonga/issues/2539) |
| 446 | |
| 447 | Reported by Tsai, Xing Wei |
| 448 | |
| 449 | Previously, the `TokenFilterStem` filter only worked with ASCII alphabets. |
| 450 | Now it supports stemming for non-ASCII alphabets such as Arabic. |
| 451 | |
| 452 | Here is an example of using `TokenFilterStem` with Arabic text: |
| 453 | |
| 454 | ``` |
| 455 | table_create Terms TABLE_PAT_KEY ShortText \ |
| 456 | --default_tokenizer TokenNgram \ |
| 457 | --normalizer 'NormalizerNFKC("version", "16.0.0")' \ |
| 458 | --token_filters 'TokenFilterStem("algorithm", "arabic")' |
| 459 | |
| 460 | table_tokenize Terms "الكتاب مفيد" --mode ADD |
| 461 | [ |
| 462 | [ |
| 463 | 0, |
| 464 | 0.0, |
| 465 | 0.0 |
| 466 | ], |
| 467 | [ |
| 468 | { |
| 469 | "value": "كتاب", |
| 470 | "position": 0, |
| 471 | "force_prefix": false, |
| 472 | "force_prefix_search": false |
| 473 | }, |
| 474 | { |
| 475 | "value": "مفيد", |
| 476 | "position": 1, |
| 477 | "force_prefix": false, |
| 478 | "force_prefix_search": false |
| 479 | } |
| 480 | ] |
| 481 | ] |
| 482 | ``` |
| 483 | |
| 484 | ### Fixes |
| 485 | |
| 486 | #### [{doc}`/install/almalinux`] Fixed installation failure on AlmaLinux 10 |
| 487 | |
| 488 | Previously, installation could fail with a dnf GPG check error due to the |
| 489 | following outdated RPM GPG key in groonga-release. |
| 490 | We’ve removed the old key and now ship only the RSA4096 key, so installs work as |
| 491 | expected now. |
| 492 | |
| 493 | ```console |
| 494 | $ dnf install -y --enablerepo=epel --enablerepo=crb groonga |
| 495 | ... |
| 496 | error: Certificate 72A7496B45499429: |
| 497 | Policy rejects 72A7496B45499429: No binding signature at time 2025-09-24T09:35:25Z |
| 498 | Key import failed (code 2). Failing package is: groonga-15.1.5-1.el10.x86_64 |
| 499 | GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-34839225, file:///etc/pki/rpm-gpg/RPM-GPG-KEY-45499429 |
| 500 | The downloaded packages were saved in cache until the next successful transaction. |
| 501 | You can remove cached packages by executing 'dnf clean packages'. |
| 502 | Error: GPG check FAILED |
| 503 | ``` |
| 504 | |
| 505 | ##### Who should upgrade? |
| 506 | |
| 507 | Most users do not need to upgrade. |
| 508 | Only users who installed groonga-release on AlmaLinux 10 **before 2025/09/24** |
| 509 | need to upgrade to the latest package using the steps below. |
| 510 | If you installed groonga-release on AlmaLinux 10 on or **after 2025/09/24**, |
| 511 | no action is required. |
| 512 | |
| 513 | ```console |
| 514 | $ sudo dnf upgrade --refresh groonga-release |
| 515 | ``` |
| 516 | |
| 517 | After upgrading the package, groonga-release contains only the new key: |
| 518 | |
| 519 | ```console |
| 520 | $ dnf repoquery -l --installed groonga-release |
| 521 | /etc/pki/rpm-gpg |
| 522 | /etc/pki/rpm-gpg/RPM-GPG-KEY-34839225 |
| 523 | /etc/yum.repos.d |
| 524 | /etc/yum.repos.d/groonga-almalinux.repo |
| 525 | /etc/yum.repos.d/groonga-amazon-linux.repo |
| 526 | ``` |
| 527 | |
| 528 | ### Thanks |
| 529 | |
| 530 | - Tsai, Xing Wei |
| 531 | |
| 532 | (release-15-1-5)= |
| 533 | |
| 534 | ## Release 15.1.5 - 2025-08-29 |
| 535 | |
| 536 | In this release, we supported `KEY_LARGE` flag for `TABLE_PAT_KEY`! |
| 537 | |
| 538 | Debian 13 "Trixie" has been released on 9 August 2025. |
| 539 | Groonga is already supported on Debian 13! Please try it! |
| 540 | |
| 541 | ### Improvements |
| 542 | |
| 543 | #### [{doc}`/reference/commands/table_create`] Added support for `KEY_LARGE` flag for `TABLE_PAT_KEY` |
| 544 | |
| 545 | You can now use the `KEY_LARGE` flag with `TABLE_PAT_KEY` tables to expand the maximum total key size from 4GiB to 1TiB, |
| 546 | similar to `TABLE_HASH_KEY` tables as below. This allows you to store more keys in total. |
| 547 | |
| 548 | ``` |
| 549 | table_create LargePaths TABLE_PAT_KEY|KEY_LARGE ShortText |
| 550 | ``` |
| 551 | |
| 552 | #### [{doc}`/reference/normalizers/normalizer_nfkc`] Added support for `unify_hyphen_and_prolonged_sound_mark` and `remove_symbol` combination |
| 553 | |
| 554 | Previously, when both `unify_hyphen_and_prolonged_sound_mark` and `remove_symbol` options were enabled together, |
| 555 | This combination didn't remove hyphen characters as expected because the hyphen characters were not properly treated as symbols to be removed. |
| 556 | |
| 557 | This release fixes this issue. So, hyphen characters are properly removed from the normalized text as below. |
| 558 | |
| 559 | ``` |
| 560 | normalize \ |
| 561 | 'NormalizerNFKC("remove_symbol", true, \ |
| 562 | "unify_hyphen_and_prolonged_sound_mark", true)' \ |
| 563 | "090ー1234-5678" |
| 564 | [ |
| 565 | [ |
| 566 | 0, |
| 567 | 1756363926.409565, |
| 568 | 0.0003023147583007812 |
| 569 | ], |
| 570 | { |
| 571 | "normalized": "09012345678", |
| 572 | "types": [ |
| 573 | ], |
| 574 | "checks": [ |
| 575 | ] |
| 576 | } |
| 577 | ] |
| 578 | ``` |
| 579 | |
| 580 | #### [{doc}`/install/almalinux`] Added support for AlmaLinux 10 |
| 581 | |
| 582 | AlmaLinux 10 packages are now available. |
| 583 | You can install Groonga on AlmaLinux 10 using the standard package installation methods. |
| 584 | |
| 585 | ### Fixes |
| 586 | |
| 587 | #### [{doc}`/install/cmake`] Fixed how to build/install |
| 588 | |
| 589 | [GH-2479](https://github.com/groonga/groonga/issues/2479) |
| 590 | |
| 591 | Patched by Tsutomu Katsube |
| 592 | |
| 593 | The documentation included an incorrect `-B` option in the `cmake --build` and `cmake --install` commands, |
| 594 | which caused build errors. |
| 595 | |
| 596 | The corrected commands are now: |
| 597 | |
| 598 | ``` |
| 599 | cmake --build <Build directory path> |
| 600 | cmake --install <Build directory path> |
| 601 | ``` |
| 602 | |
| 603 | #### [{doc}`/reference/commands/truncate`] Fixed a bug where `KEY_LARGE` flag was lost after executing `truncate` command |
| 604 | |
| 605 | This issue meant that when you executed the `truncate` command on a `TABLE_HASH_KEY` table with the `KEY_LARGE` flag, |
| 606 | the table could no longer hold more than 4 GiB of total key data, because the `KEY_LARGE` flag was removed during the truncation. |
| 607 | |
| 608 | #### [{doc}`/reference/executables/grndb`] Fixed a bug that the database checked by `grndb check` command was not enough |
| 609 | |
| 610 | The issue occurred because the `grndb check` command did not check part of the database files. |
| 611 | |
| 612 | However, even without this modification, grndb check correctly returns the results of table and column checks. |
| 613 | `grndb cehck` can check database correctly by this modification. |
| 614 | |
| 615 | ### Thanks |
| 616 | |
| 617 | - Tsutomu Katsube |
| 618 | |
| 619 | (release-15-1-4)= |
| 620 | |
| 621 | ## Release 15.1.4 - 2025-07-29 |
| 622 | |
| 623 | In this release, we fixed a bug in the interval calculation between phrases in `*ONPP` operator. |
| 624 | |
| 625 | ### Fixes |
| 626 | |
| 627 | #### [Ordered near phrase product search] Fixed a bug in the interval calculation between phrases |
| 628 | |
| 629 | This problem may occur when we use `*ONPP` with `MAX_ELEMENT_INTERVAL` such as `*ONPP-1,0,10"(abc bcd) (defg)"`. |
| 630 | If you don't use `MAX_ELEMENT_INTERVAL`, this problem doesn't occur. |
| 631 | |
| 632 | Please refer to the following links for usage and syntax of `*ONPP`. |
| 633 | |
| 634 | - [`*ONPP` in query syntax] {ref}`query-syntax-ordered-near-phrase-product-search-condition` |
| 635 | - [`*ONPP` in script syntax] {ref}`script-syntax-ordered-near-phrase-product-search-operator` |
| 636 | |
| 637 | If this problem occurs, the following things may happen. |
| 638 | |
| 639 | - Groonga may return records that shouldn't be matched. |
| 640 | - Groonga may not return records that should be matched. |
| 641 | |
| 642 | (release-15-1-3)= |
| 643 | |
| 644 | ## Release 15.1.3 - 2025-07-18 |
| 645 | |
| 646 | ### Improvements |
| 647 | |
| 648 | #### [Apache Arrow] Added support for Apache Arrow C++ 21.0.0 |
| 649 | |
| 650 | (release-15-1-2)= |
| 651 | |
| 652 | ## Release 15.1.2 - 2025-07-07 |
| 653 | |
| 654 | ### Improvements |
| 655 | |
| 656 | #### [Windows] Drop support for Groonga package that is built with Visual Studio 2019 |
| 657 | |
| 658 | We don't provide the following packages since this release. |
| 659 | |
| 660 | - groonga-xx.x.x-x64-vs2019.zip |
| 661 | - groonga-xx.x.x-x64-vs2019-with-vcruntime.zip |
| 662 | |
| 663 | ### Fixes |
| 664 | |
| 665 | #### [Near phrase search] Fixed a bug that interval between phrases calculation |
| 666 | |
| 667 | This problem may occur when we use `*NP`, `*NPP`, or `*ONP` with `MAX_ELEMENT_INTERVAL` as below. |
| 668 | |
| 669 | - `*NP-1,0,12"abc ef"` |
| 670 | - `*NPP-1,0,10"(abc bcd) (ef)"` |
| 671 | - `*ONP-1,0,5|6 "abc defghi jklmnop"` |
| 672 | |
| 673 | If you don't use `MAX_ELEMENT_INTERVAL`, this problem doesn't occur. |
| 674 | |
| 675 | Please refer to the following links about usage and syntax of `*NP`, `*NPP`, or `*ONP`. |
| 676 | |
| 677 | - [`*NP` in query syntax] {ref}`query-syntax-near-phrase-search-condition` |
| 678 | - [`*NP` in script syntax] {ref}`script-syntax-near-phrase-search-operator` |
| 679 | - [`*NPP` in query syntax] {ref}`query-syntax-near-phrase-product-search-condition` |
| 680 | - [`*NPP` in script syntax] {ref}`script-syntax-near-phrase-product-search-operator` |
| 681 | - [`*ONP` in query syntax] {ref}`query-syntax-ordered-near-phrase-search-condition` |
| 682 | - [`*ONP` in script syntax] {ref}`script-syntax-ordered-near-phrase-search-operator` |
| 683 | |
| 684 | If this problem occurs, the following things may happen. |
| 685 | |
| 686 | - Groonga may return records shouldn't be a hit. |
| 687 | - Groonga may not return records that should be returned as hits. |
| 688 | |
| 689 | (release-15-1-1)= |
| 690 | |
| 691 | ## Release 15.1.1 - 2025-06-02 |
| 692 | |
| 693 | This release updates TokenMecab to preserve user-defined entries with spaces as |
| 694 | single tokens. |
| 695 | |
| 696 | ### Improvements |
| 697 | |
| 698 | #### {doc}`/reference/tokenizers/token_mecab`: Fix unintended splitting of user-defined entries with spaces |
| 699 | |
| 700 | Previously, {ref}`token-mecab` split user-defined entries containing spaces |
| 701 | (e.g., "search engine") into separate tokens ("search" and "engine"). This |
| 702 | release fixes this issue, so entries with embedded spaces are now preserved and |
| 703 | handled as single tokens like "search engine" as follows. |
| 704 | |
| 705 | ``` |
| 706 | tokenize TokenMecab "search engine" --output_pretty yes |
| 707 | [ |
| 708 | [ |
| 709 | 0, |
| 710 | 1748413131.972704, |
| 711 | 0.0003032684326171875 |
| 712 | ], |
| 713 | [ |
| 714 | { |
| 715 | "value": "search engine", |
| 716 | "position": 0, |
| 717 | "force_prefix": false, |
| 718 | "force_prefix_search": false |
| 719 | } |
| 720 | ] |
| 721 | ] |
| 722 | ``` |
| 723 | |
| 724 | ### Fixes |
| 725 | |
| 726 | #### Fixed many typos in documentation |
| 727 | |
| 728 | [GH-2332](https://github.com/groonga/groonga/pull/2332), |
| 729 | [GH-2333](https://github.com/groonga/groonga/pull/2333), |
| 730 | [GH-2334](https://github.com/groonga/groonga/pull/2334), |
| 731 | [GH-2335](https://github.com/groonga/groonga/pull/2335), |
| 732 | [GH-2336](https://github.com/groonga/groonga/pull/2336), |
| 733 | [GH-2337](https://github.com/groonga/groonga/pull/2337), |
| 734 | [GH-2338](https://github.com/groonga/groonga/pull/2338) |
| 735 | |
| 736 | Patched by Vasilii Lakhin. |
| 737 | |
| 738 | ### Thanks |
| 739 | |
| 740 | - Vasilii Lakhin |
| 741 | |
| 742 | (release-15-0-9)= |
| 743 | |
| 744 | ## Release 15.0.9 - 2025-05-08 |
| 745 | |
| 746 | This release adds the tokenizer's option to make token inspection simpler and |
| 747 | improves negative-division semantics for unsigned integer. |
| 748 | |
| 749 | ### Improvements |
| 750 | |
| 751 | #### {doc}`/reference/commands/tokenize`/{doc}`/reference/commands/table_tokenize`: Added {ref}`tokenize-output-style` option |
| 752 | |
| 753 | This {ref}`tokenize-output-style` option to the |
| 754 | {doc}`/reference/commands/tokenize`/{doc}`/reference/commands/table_tokenize` |
| 755 | command makes it easier to focus on the tokens when you don’t need the full |
| 756 | attribute set. |
| 757 | |
| 758 | Here is example of using {ref}`tokenize-output-style` option. |
| 759 | |
| 760 | ``` |
| 761 | tokenize TokenNgram "Fulltext Search" --output_style simple |
| 762 | [ |
| 763 | [ |
| 764 | 0, |
| 765 | 1746573056.540744, |
| 766 | 0.0007045269012451172 |
| 767 | ], |
| 768 | [ |
| 769 | "Fu", |
| 770 | "ul", |
| 771 | "ll", |
| 772 | "lt", |
| 773 | "te", |
| 774 | "ex", |
| 775 | "xt", |
| 776 | "t ", |
| 777 | " S", |
| 778 | "Se", |
| 779 | "ea", |
| 780 | "ar", |
| 781 | "rc", |
| 782 | "ch", |
| 783 | "h" |
| 784 | ] |
| 785 | ] |
| 786 | ``` |
| 787 | |
| 788 | #### Clarified `X / negative value` semantics |
| 789 | |
| 790 | Previously, only dividing `X` by `-1`/`1.0` returns `-X` for unsigned integers. |
| 791 | From this release, dividing by any negative value will yield the mathematically |
| 792 | expected negative result as follows. |
| 793 | |
| 794 | - Before: `X / -2` might not return `-(X / 2)`. |
| 795 | - After: `X / -2` always returns `-(X / 2)`. |
| 796 | |
| 797 | This is a backward incompatible change but we assume that no user depends on |
| 798 | this behavior. |
| 799 | |
| 800 | (release-15-0-4)= |
| 801 | |
| 802 | ## Release 15.0.4 - 2025-03-29 |
| 803 | |
| 804 | ### Improvements |
| 805 | |
| 806 | #### Clarified `X / -1` and `X / -1.0` semantics |
| 807 | |
| 808 | In many languages, `X / -1` and `X / -1.0` return `-X`. But Groonga |
| 809 | may not return `-X` when `X` is unsigned integer. |
| 810 | |
| 811 | `X / -1` and `X / -1.0` always return `-X` from this release. |
| 812 | |
| 813 | This is a backward incompatible change but we assume that no user |
| 814 | depends on this behavior. |
| 815 | |
| 816 | (release-15-0-3)= |
| 817 | |
| 818 | ## Release 15.0.3 - 2025-03-10 |
| 819 | |
| 820 | ### Improvements |
| 821 | |
| 822 | #### {ref}`offline-index-construction`: Added support for parallel construction with {ref}`table-hash-key` lexicon |
| 823 | |
| 824 | Parallel offline index construction iterates sorted terms |
| 825 | internally. {ref}`table-pat-key` and {ref}`table-pat-key` can do it |
| 826 | effectively because they are based on tree. But {ref}`table-hash-key` |
| 827 | can't do it effectively because it's not based on tree. So we didn't |
| 828 | support parallel offline index construction with |
| 829 | {ref}`table-hash-key` lexicon. |
| 830 | |
| 831 | This release adds support for parallel offline index construction with |
| 832 | {ref}`table-hash-key` lexicon. It sort terms in a normal way. So it's |
| 833 | not so effective. Parallel offline index construction with |
| 834 | {ref}`table-hash-key` lexicon will be slower than |
| 835 | {ref}`table-pat-key`/{ref}`table-dat-key`. But it may be faster than |
| 836 | sequential offline index construction with {ref}`table-hash-key` |
| 837 | lexicon. |
| 838 | |
| 839 | (release-15-0-2)= |
| 840 | |
| 841 | ## Release 15.0.2 - 2025-02-21 |
| 842 | |
| 843 | ### Fixes |
| 844 | |
| 845 | #### {ref}`offline-index-construction`: Fixed a bug that options may be ignored in parallel construction |
| 846 | |
| 847 | Groonga may ignore options of {doc}`/reference/normalizers`, |
| 848 | {doc}`/reference/tokenizers` and/or {doc}`/reference/token_filters` in |
| 849 | the target index when offline index construction is executed in |
| 850 | parallel. |
| 851 | |
| 852 | This issue may occur when: |
| 853 | |
| 854 | - Offline index construction is executed in parallel. |
| 855 | - {doc}`/reference/normalizers`, {doc}`/reference/tokenizers`, and/or |
| 856 | {doc}`/reference/token_filters` options are used. |
| 857 | |
| 858 | If {doc}`/reference/normalizers/normalizer_table` is used and this |
| 859 | happens, the offline index construction is failed. Because |
| 860 | {doc}`/reference/normalizers/normalizer_table` has a required |
| 861 | parameter. If options are ignored, the required parameter is missing. |
| 862 | |
| 863 | (release-15-0-1)= |
| 864 | |
| 865 | ## Release 15.0.1 - 2025-02-20 |
| 866 | |
| 867 | ### Improvements |
| 868 | |
| 869 | #### [{doc}`/install/ubuntu`] Dropped support for Ubuntu 20.04 (Focal Fossa) |
| 870 | |
| 871 | Ubuntu 20.04 will reach EOL in May 2025, so support for it has been dropped |
| 872 | starting with this release. |
| 873 | |
| 874 | (release-15-0-0)= |
| 875 | |
| 876 | ## Release 15.0.0 - 2025-02-09 |
| 877 | |
| 878 | This is our annual major release! This release doesn't have any |
| 879 | backward incompatible changes! So you can upgrade Groonga without |
| 880 | migrating your existing databases. You can still use your existing |
| 881 | databases as-is. |
| 882 | |
| 883 | ### Improvements |
| 884 | |
| 885 | #### {ref}`table-pat-key`: Added support for {ref}`builtin-type-float32` as key type |
| 886 | |
| 887 | [GH-2211](https://github.com/groonga/groonga/issues/2211) |
| 888 | |
| 889 | {ref}`table-pat-key` encodes/decodes numeric keys for fast search |
| 890 | internally. So {ref}`table-pat-key` must know how to encode/decode |
| 891 | keys. {ref}`table-pat-key` didn't know how to encode/decode |
| 892 | {ref}`builtin-type-float32` before this release. Now, |
| 893 | {ref}`table-pat-key` can encode/decode {ref}`builtin-type-float32`. So |
| 894 | you can use {ref}`builtin-type-float32` as a {ref}`table-pat-key` key |
| 895 | type like other numeric types such as {ref}`builtin-type-int32` and |
| 896 | {ref}`builtin-type-float` now. |