Groonga 13.0.7 has been released
Groonga 13.0.7 has been released!
How to install: Install
Changes
Here are important changes in this release:
Fixes
-
normalize Fixed a bug that
normalize
command doesn’t output last offset and type.normalize
command can output offset and type of string after normalize as below, butnormalize
command doesn’t output the last offset and type by this bug.table_create Normalizations TABLE_PAT_KEY ShortText column_create Normalizations normalized COLUMN_SCALAR ShortText load --table Normalizations [ {"_key": "あ", "normalized": "<あ>"} ] normalize 'NormalizerNFKC130("unify_kana", true, "report_source_offset", true), NormalizerTable("normalized", "Normalizations.normalized", "report_source_offset", true)' "お あ a ア i ア オ" REMOVE_BLANK|WITH_TYPES|WITH_CHECKS [ [ 0, 0.0, 0.0 ], { "normalized": "お<あ>a<あ>i<あ>お", "types": [ "hiragana", "symbol", "hiragana", "symbol", "alpha", "symbol", "hiragana", "symbol", "alpha", "symbol", "hiragana", "symbol", "hiragana" ], "checks": [ 3, 0, 0, 4, -1, 0, 0, -1, 4, 4, -1, 0, 0, -1, 4, 4, -1, 0, 0, -1, 4, 0, 0 ], "offsets": [ 0, 4, 4, 4, 8, 12, 12, 12, 16, 20, 20, 20, 24 ] } ]
-
Normalizers Fixed a bug that the last offset value may be invalid when we use multiple normalizers.
For the following example, the last offset value is 27 correctly, but it is 17 in the following example by this bug.
table_create Normalizations TABLE_PAT_KEY ShortText column_create Normalizations normalized COLUMN_SCALAR ShortText load --table Normalizations [ {"_key": "あ", "normalized": "<あ>"} ] normalize 'NormalizerNFKC130("unify_kana", true, "report_source_offset", true), NormalizerTable("normalized", "Normalizations.normalized", "report_source_offset", true)' "お あ a ア i ア オ" REMOVE_BLANK|WITH_TYPES|WITH_CHECKS [ [ 0, 0.0, 0.0 ], { "normalized": "お<あ>a<あ>i<あ>お", "types": [ "hiragana", "symbol", "hiragana", "symbol", "alpha", "symbol", "hiragana", "symbol", "alpha", "symbol", "hiragana", "symbol", "hiragana", "null" ], "checks": [ 3, 0, 0, 4, -1, 0, 0, -1, 4, 4, -1, 0, 0, -1, 4, 4, -1, 0, 0, -1, 4, 0, 0 ], "offsets": [ 0, 4, 4, 4, 8, 12, 12, 12, 16, 20, 20, 20, 24, 17 ] } ]
Conclusion
Please refert to the following news for more details.
Let's search by Groonga!