| 1 |
News - 8 series |
| 2 |
=============== |
| 3 |
|
| 4 |
.. _release-8-1-1: |
| 5 |
|
| 6 |
Release 8.1.1 - 2019-01-29 |
| 7 |
-------------------------- |
| 8 |
|
| 9 |
Improvements |
| 10 |
^^^^^^^^^^^^ |
| 11 |
|
| 12 |
* [:doc:`/reference/commands/logical_select`] Added new argument ``--load_table``, ``--load_columns`` and ``--load_values``. |
| 13 |
|
| 14 |
* You can store a result of ``logical_select`` in a table that specifying ``--load_table``. |
| 15 |
|
| 16 |
* ``--load_values`` option specifies columns of result of ``logical_select``. |
| 17 |
|
| 18 |
* ``--load_columns`` options specifies columns of table that specifying ``--load_table``. |
| 19 |
|
| 20 |
* In this way, you can store values of columns that specifying with ``--load_values`` into columns that specifying with ``--load_columns``. |
| 21 |
|
| 22 |
* Improve error log when update error of index. |
| 23 |
|
| 24 |
* Added more information in the log. |
| 25 |
|
| 26 |
* For example, output source buffer and chunk when occur merge of posting lists error. |
| 27 |
* Also, outputting the log a free space size of a buffer and request size of a buffer when occurs error of allocating a buffer. |
| 28 |
|
| 29 |
* [:doc:`/reference/executables/groonga`] Added a new option ``--log-flags``. |
| 30 |
|
| 31 |
* We can specify output items of a log of the Groonga. |
| 32 |
|
| 33 |
* We can output as below items. |
| 34 |
|
| 35 |
* Timestamp |
| 36 |
* Log message |
| 37 |
* Location(the location where the log was output) |
| 38 |
* Process id |
| 39 |
* Thread id |
| 40 |
|
| 41 |
* We can specify prefix as below. |
| 42 |
|
| 43 |
* ``+`` |
| 44 |
|
| 45 |
* This prefix means that "add the flag". |
| 46 |
|
| 47 |
* ``-`` |
| 48 |
|
| 49 |
* This prefix means that "remove the flag". |
| 50 |
|
| 51 |
* No prefix means that "replace existing flags". |
| 52 |
|
| 53 |
* Specifically, we can specify flags as below. |
| 54 |
|
| 55 |
* ``none`` |
| 56 |
|
| 57 |
* Output nothing into the log. |
| 58 |
|
| 59 |
* ``time`` |
| 60 |
|
| 61 |
* Output a timestamp into the log. |
| 62 |
|
| 63 |
* ``message`` |
| 64 |
|
| 65 |
* Output log messages into the log. |
| 66 |
|
| 67 |
* ``location`` |
| 68 |
|
| 69 |
* Output the location where the log was output( a file name, a line and a function name) and process id. |
| 70 |
|
| 71 |
* ``process_id`` |
| 72 |
|
| 73 |
* Output a process id into the log. |
| 74 |
|
| 75 |
* ``pid`` |
| 76 |
|
| 77 |
* This flag is an alias of ``process_id``. |
| 78 |
|
| 79 |
* ``thread_id`` |
| 80 |
|
| 81 |
* Output thread id into the log. |
| 82 |
|
| 83 |
* ``all`` |
| 84 |
|
| 85 |
* This flag specifies all flags except ``none`` and ``default`` flags. |
| 86 |
|
| 87 |
* ``default`` |
| 88 |
|
| 89 |
* Output a timestamp and log messages into the log. |
| 90 |
|
| 91 |
* We can also specify multiple log flags by separating flags with ``|``. |
| 92 |
|
| 93 |
Fixes |
| 94 |
^^^^^ |
| 95 |
|
| 96 |
* Fixed a memory leak when occurs index update error. |
| 97 |
|
| 98 |
* [:doc:`/reference/normalizers`] Fixed a bug that stateless normalizers and stateful normalizers return wrong results when we use them at the same time. |
| 99 |
|
| 100 |
* Stateless normalizers are below. |
| 101 |
|
| 102 |
* ``unify_kana`` |
| 103 |
* ``unify_kana_case`` |
| 104 |
* ``unify_kana_voiced_sound_mark`` |
| 105 |
* ``unify_hyphen`` |
| 106 |
* ``unify_prolonged_sound_mark`` |
| 107 |
* ``unify_hyphen_and_prolonged_sound_mark`` |
| 108 |
* ``unify_middle_dot`` |
| 109 |
|
| 110 |
* Stateful normalizers are below. |
| 111 |
|
| 112 |
* ``unify_katakana_v_sounds`` |
| 113 |
* ``unify_katakana_bu_sound`` |
| 114 |
* ``unify_to_romaji`` |
| 115 |
|
| 116 |
.. _release-8-1-0: |
| 117 |
|
| 118 |
Release 8.1.0 - 2018-12-29 |
| 119 |
-------------------------- |
| 120 |
|
| 121 |
Improvements |
| 122 |
^^^^^^^^^^^^ |
| 123 |
|
| 124 |
* [httpd] Updated bundled nginx to 1.15.8. |
| 125 |
|
| 126 |
Fixes |
| 127 |
^^^^^ |
| 128 |
|
| 129 |
* Fixed a bug that unlock against DB is always executed after flush when after execute a ``io_flush`` command. |
| 130 |
|
| 131 |
* Fixed a bug that ``reindex`` command doesn't finish when execute a ``reindex`` command against table that has record that has not references. |
| 132 |
|
| 133 |
.. _release-8-0-9: |
| 134 |
|
| 135 |
Release 8.0.9 - 2018-11-29 |
| 136 |
-------------------------- |
| 137 |
|
| 138 |
Improvements |
| 139 |
^^^^^^^^^^^^ |
| 140 |
|
| 141 |
* [:doc:`/reference/tokenizers`] Improved that output a tokenizer name in error message when create tokenizer fail. |
| 142 |
|
| 143 |
* [:doc:`/reference/tokenizers`][TokenDelimit] Supported that customizing delimiter of a token. |
| 144 |
|
| 145 |
* You can use token other than whitespace as a token of delimiter. |
| 146 |
|
| 147 |
* [:doc:`/reference/tokenizers`][TokenDelimit] Added new option ``pattern``. |
| 148 |
|
| 149 |
* You can specify delimiter with regular expression by this option. |
| 150 |
|
| 151 |
* [:doc:`/reference/tokenizers`] Added force_prefix_search value to each token information. |
| 152 |
|
| 153 |
* "force_prefix" is kept for backward compatibility. |
| 154 |
|
| 155 |
* [:doc:`/reference/token_filters`] Added built-in token filter ``TokenFilterNFKC100``. |
| 156 |
|
| 157 |
* You can convert katakana to hiragana like NormalizerNFKC100 with a ``unify_kana`` option. |
| 158 |
|
| 159 |
* [:doc:`/reference/token_filters`][TokenFilterStem] Added new option ``algorithm``. |
| 160 |
|
| 161 |
* You can also stem language other than English(French, Spanish, Portuguese, Italian, Romanian, German, Dutch, Swedish, Norwegian, Danish, Russian, Finnish) by this option. |
| 162 |
|
| 163 |
* [:doc:`/reference/token_filters`][TokenFilterStopWord] Added new option ``column``. |
| 164 |
|
| 165 |
* You can specify stop word in a column other than is_stop_word column by this option. |
| 166 |
|
| 167 |
* [:doc:`/reference/commands/dump`] Supported output options of token filter options. |
| 168 |
|
| 169 |
* If you specify a tokenizer like ``TokenNgram`` or ``TokenMecab`` etc that has options, you can output these options with ``table_list`` command. |
| 170 |
|
| 171 |
* [:doc:`/reference/commands/truncate`] Supported a table that it has token filter option. |
| 172 |
|
| 173 |
* You can ``truncate`` even a tabel that it has token filter like ``TokenFilterStem`` or ``TokenStopWord`` that has options. |
| 174 |
|
| 175 |
* [:doc:`/reference/commands/schema`] Support output of options of token filter. |
| 176 |
|
| 177 |
* [:doc:`/reference/normalizers`] Added new option for ``NormalizerNFKC100`` that ``unify_to_romaji`` option. |
| 178 |
|
| 179 |
* You can normalize hiragana and katakana to romaji by this option. |
| 180 |
|
| 181 |
* [query-log][show-condition] Supported "func() > 0" case. |
| 182 |
|
| 183 |
* [Windows] Improved that ensure flushing on unmap. |
| 184 |
|
| 185 |
* Improved error message on opening input file error. |
| 186 |
|
| 187 |
* [httpd] Updated bundled nginx to 1.15.7. |
| 188 |
|
| 189 |
* contains security fix for CVE-2018-16843 and CVE-2018-16844. |
| 190 |
|
| 191 |
Fixes |
| 192 |
^^^^^ |
| 193 |
|
| 194 |
* Fixed a memory leak when evaluating window function. |
| 195 |
|
| 196 |
* [:doc:`/reference/executables/groonga-httpd`] Fixed bug that log content may be mixed. |
| 197 |
|
| 198 |
* Fixed a bug that generates invalid JSON when occurs error of slice on output_columns. |
| 199 |
|
| 200 |
* Fixed a memory leak when getting nested reference vector column value. |
| 201 |
|
| 202 |
* Fixed a crash bug when outputting warning logs of index corruption. |
| 203 |
|
| 204 |
* Fix a crash bug when temporary vector is reused in expression evaluation. |
| 205 |
|
| 206 |
* For example, crash when evaluating an expression that uses a vector as below. |
| 207 |
|
| 208 |
``_score = _score + (vector_size(categories) > 0)`` |
| 209 |
|
| 210 |
* Fix a bug that hits a value of vector columns deleted by a delete command.[GitHub PGroonga#85][Reported by dodaisuke] |
| 211 |
|
| 212 |
Thanks |
| 213 |
^^^^^^ |
| 214 |
|
| 215 |
* dodaisuke |
| 216 |
|
| 217 |
.. _release-8-0-8: |
| 218 |
|
| 219 |
Release 8.0.8 - 2018-10-29 |
| 220 |
-------------------------- |
| 221 |
|
| 222 |
Improvements |
| 223 |
^^^^^^^^^^^^ |
| 224 |
|
| 225 |
* [:doc:`/reference/commands/table_list`] Supported output options of default tokenizer. |
| 226 |
|
| 227 |
* If you specify a tokenizer like ``TokenNgram`` or ``TokenMecab`` etc that has options, you can output these options with ``table_list`` command. |
| 228 |
|
| 229 |
* [:doc:`/reference/commands/select`] Supported normalizer options in sequential match with ``record @ 'query'``. |
| 230 |
|
| 231 |
* [:doc:`/reference/commands/truncate`] Supported a table that it has tokenizer option. |
| 232 |
|
| 233 |
* You can ``truncate`` even a tabel that it has tokenizer like ``TokenNgram`` or ``TokenMecab`` etc that has options. |
| 234 |
|
| 235 |
* [:doc:`/reference/tokenizers`][TokenMecab] Added new option ``target_class`` |
| 236 |
|
| 237 |
* This option searches a token of specifying a part-of-speech. For example, you can search only a noun. |
| 238 |
* This option can also specify subclasses and exclude or add specific part-of-speech of specific using ``+`` or ``-``. So, you can also search except a pronoun as below. |
| 239 |
|
| 240 |
``'TokenMecab("target_class", "-名詞/代名詞", "target_class", "+")'`` |
| 241 |
|
| 242 |
* [:doc:`/reference/commands/io_flush`] Supported locking of a database during a ``io_flush``. |
| 243 |
|
| 244 |
* Because Groonga had a problem taht is a crash when deleting a table of a target of a ``io_flush`` during execution of a ``io_flush``. |
| 245 |
|
| 246 |
* [:doc:`/reference/functions/cast_loose`] Added a new function ``cast_loose``. |
| 247 |
|
| 248 |
* This function cast to a type to specify. If a value to specify can't cast, it become to a default value to specify. |
| 249 |
|
| 250 |
* Added optimize the order of evaluation of a conditional expression.(experimental) |
| 251 |
|
| 252 |
* You can active this feature by setting environment value as below. |
| 253 |
|
| 254 |
``GRN_EXPR_OPTIMIZE=yes`` |
| 255 |
|
| 256 |
* Supported ``(?-mix:XXX)`` form for index searchable regular expression. [groonga-dev,04683][Reported by Masatoshi SEKI] |
| 257 |
|
| 258 |
* ``(?-mix:XXX)`` form treats the same as XXX. |
| 259 |
|
| 260 |
* [httpd] Updated bundled nginx to 1.15.5. |
| 261 |
|
| 262 |
* Supported Ubuntu 18.10 (Cosmic Cuttlefish) |
| 263 |
|
| 264 |
Fixes |
| 265 |
^^^^^ |
| 266 |
|
| 267 |
* Fixed a bug that the Groonga GQTP server may fail to accept a new connection. [groonga-dev,04688][Reported by Yutaro Shimamura] |
| 268 |
|
| 269 |
* It's caused when interruption client process without using quit. |
| 270 |
|
| 271 |
Thanks |
| 272 |
^^^^^^ |
| 273 |
|
| 274 |
* Masatoshi SEKI |
| 275 |
* Yutaro Shimamura |
| 276 |
|
| 277 |
.. _release-8-0-7: |
| 278 |
|
| 279 |
Release 8.0.7 - 2018-09-29 |
| 280 |
-------------------------- |
| 281 |
|
| 282 |
Improvements |
| 283 |
^^^^^^^^^^^^ |
| 284 |
|
| 285 |
* [:doc:`/reference/tokenizers`][TokenMecab] support outputting metadata of Mecab. |
| 286 |
|
| 287 |
* Added new option ``include_class`` for ``TokenMecab``. |
| 288 |
|
| 289 |
This option outputs ``class`` and ``subclass`` in Mecab's metadata. |
| 290 |
|
| 291 |
* Added new option ``include_reading`` for ``TokenMecab``. |
| 292 |
|
| 293 |
This option outputs ``reading`` in Mecab's metadata. |
| 294 |
|
| 295 |
* Added new option ``include_form`` for ``TokenMecab``. |
| 296 |
|
| 297 |
This option outputs ``inflected_type``, ``inflected_form`` and ``base_form`` in Mecab's metadata. |
| 298 |
|
| 299 |
* Added new option ``use_reading`` for ``TokenMecab``. |
| 300 |
|
| 301 |
This option supports a search by kana. |
| 302 |
|
| 303 |
This option is useful for countermeasure of orthographical variants because it searches with kana. |
| 304 |
|
| 305 |
* [plugin] Groonga now can grab plugins from multiple directories. |
| 306 |
|
| 307 |
You can specify multiple directories to ``GRN_PLUGINS_PATH`` separated with ":" on non Windows, ";" on Windows. |
| 308 |
|
| 309 |
``GRN_PLUGINS_PATH`` has high priority than the existing ``GRN_PLUGINS_DIR``. |
| 310 |
Currently, this option is not supported Windows. |
| 311 |
|
| 312 |
* [:doc:`/reference/tokenizers`][TokenNgram] Added new option ``unify_alphabet`` for ``TokenNgram``. |
| 313 |
|
| 314 |
If we use ``unify_alphabet`` as ``false``, ``TokenNgram`` uses bigram tokenize method for ASCII character. |
| 315 |
|
| 316 |
* [:doc:`/reference/tokenizers`][TokenNgram] Added new option ``unify_symbol`` for ``TokenNgram``. |
| 317 |
|
| 318 |
``TokenNgram("unify_symbol", false)`` is same behavior of ``TokenBigramSplitSymbol``. |
| 319 |
|
| 320 |
* [:doc:`/reference/tokenizers`][TokenNgram] Added new option ``unify_digit`` for ``TokenNgram``. |
| 321 |
|
| 322 |
If we use ``unify_digit`` as ``false``, If we set false, ``TokenNgram`` uses bigram tokenize method for digits. |
| 323 |
|
| 324 |
* [httpd] Updated bundled nginx to 1.15.4. |
| 325 |
|
| 326 |
Fixes |
| 327 |
^^^^^ |
| 328 |
|
| 329 |
* Fixed wrong score calculations on some cases. |
| 330 |
|
| 331 |
* It's caused when adding, multiplication or division numeric to a bool value. |
| 332 |
* It's caused when comparing a scalar and vector columns using ``!=`` or ``==``. |
| 333 |
|
| 334 |
.. _release-8-0-6: |
| 335 |
|
| 336 |
Release 8.0.6 - 2018-08-29 |
| 337 |
-------------------------- |
| 338 |
|
| 339 |
Improvements |
| 340 |
^^^^^^^^^^^^ |
| 341 |
|
| 342 |
* [:doc:`/reference/tokenizers`][TokenMecab] add ``chunked_tokenize`` and ``chunk_size_threshold`` options. |
| 343 |
|
| 344 |
* [optimizer] support estimation for query family expressions. |
| 345 |
It will generate more effective execution plan with query family expressions such as ``column @ query``, ``column @~ pattern`` and so on. |
| 346 |
|
| 347 |
* [optimizer] plug-in -> built-in |
| 348 |
It's disabled by default for now. |
| 349 |
We can enable it by defining ``GRN_EXPR_OPTIMIZE=yes`` environment variable or using ``expression_rewriters`` table as before. |
| 350 |
|
| 351 |
* Enable sequential search for enough filtered case by default. |
| 352 |
If the current result is enough filtered, sequential search is faster than index search. |
| 353 |
If the current result has only 1% records of all records in a table and less than 1000 records, sequential search is used even when index search is available. |
| 354 |
|
| 355 |
Currently, this optimization is applied when search by ``==``, ``>``, ``<``, ``>=``, or ``<=``. |
| 356 |
|
| 357 |
When a key of a table that has columns specified by the filter is ``ShortText``, you must set ``NormalizerAuto`` to normalizer of the table to apply this optimization. |
| 358 |
|
| 359 |
You can disable this feature by ``GRN_TABLE_SELECT_ENOUGH_FILTERED_RATIO=0.0`` environment variable. |
| 360 |
|
| 361 |
* [load] improve error message. |
| 362 |
Table name is included. |
| 363 |
|
| 364 |
* [load] add ``lock_table`` option. |
| 365 |
If ``--lock_table yes`` is specified, ``load`` locks the target table while updating columns and applying ``--each``. |
| 366 |
This option avoids ``load`` and ``delete`` conflicts but it'll reduce load performance. |
| 367 |
|
| 368 |
* [vector_find] avoid to crash with unsupported modes |
| 369 |
|
| 370 |
Fixes |
| 371 |
^^^^^ |
| 372 |
|
| 373 |
* [index] fix a bug that offline index construction for text vector with ``HASH_KEY``. |
| 374 |
It creates index with invalid section ID. |
| 375 |
|
| 376 |
* Fix a bug that ``--match_columns 'index[0] || index[9]'`` uses wrong section. |
| 377 |
|
| 378 |
* [highlighter] fix a wrong highlight bug |
| 379 |
It's caused when lexicon is hash table and keyword is less than N of N-gram. |
| 380 |
|
| 381 |
* [mruby] fix a bug that real error is hidden. |
| 382 |
mruby doesn't support error propagation by no argument raise. |
| 383 |
https://github.com/mruby/mruby/issues/290 |
| 384 |
|
| 385 |
* [:doc:`/reference/tokenizers`][TokenNgram loose]: fix a not found bug when query has only loose types. |
| 386 |
``highlight_html()`` with lexicon was also broken. |
| 387 |
|
| 388 |
* Fix a bug that text->number cast ignores trailing garbage. |
| 389 |
"0garbage" should be cast error. |
| 390 |
|
| 391 |
* Fix an optimization bug for ``reference_column >= 'key_value'`` case |
| 392 |
|
| 393 |
.. _release-8-0-5: |
| 394 |
|
| 395 |
Release 8.0.5 - 2018-07-29 |
| 396 |
-------------------------- |
| 397 |
|
| 398 |
Improvements |
| 399 |
^^^^^^^^^^^^ |
| 400 |
|
| 401 |
* [:doc:`/reference/grn_expr/script_syntax`] Added complementary explain about similar search against Japanese documents. |
| 402 |
[GitHub#858][Patch by Yasuhiro Horimoto] |
| 403 |
|
| 404 |
* [:doc:`/reference/functions/time_classify_day_of_week`] Added a new API: ``time_classify_day_of_week()``. |
| 405 |
|
| 406 |
* Suppressed a warning with ``-fstack-protector``. |
| 407 |
Suggested by OBATA Akio. |
| 408 |
|
| 409 |
* Added a new API: ``time_format_iso8601()``. |
| 410 |
|
| 411 |
* Exported a struct ``grn_raw_string``. |
| 412 |
|
| 413 |
* Added a new API: ``grn_obj_clear_option_values()``. |
| 414 |
It allows you to clear option values on remove (for persistent) / close (for temporary.) |
| 415 |
|
| 416 |
* [log] Reported index column name for error message ``[ii][update][one]``. |
| 417 |
|
| 418 |
* [httpd] Updated bundled nginx to 1.15.2. |
| 419 |
|
| 420 |
* [:doc:`/install/ubuntu`] Dropped Ubuntu 17.10 (Artful Aardvark) support. |
| 421 |
It has reached EOL at July 19, 2018. |
| 422 |
|
| 423 |
* [:doc:`/install/debian`] Dropped jessie support. |
| 424 |
Debian's security and release team will no longer produce updates for jessie. |
| 425 |
|
| 426 |
Fixes |
| 427 |
^^^^^ |
| 428 |
|
| 429 |
* Fixed returning wrong result after unfinished ``/d/load`` data by POST. |
| 430 |
|
| 431 |
* Fixed wrong function call around KyTea. |
| 432 |
|
| 433 |
* [:doc:`/reference/executables/grndb`] Added a missing label for the ``--force-truncate`` option. |
| 434 |
|
| 435 |
* Fixed crash on closing of a database, when a normalizer provided by a plugin (ex. ``groonga-normalizer-mysql``) is used with any option. |
| 436 |
|
| 437 |
* Fixed a bug that normalizer/tokenizer options may be ignored. |
| 438 |
It's occurred when the same object ID is reused. |
| 439 |
|
| 440 |
.. _release-8-0-4: |
| 441 |
|
| 442 |
Release 8.0.4 - 2018-06-29 |
| 443 |
-------------------------- |
| 444 |
|
| 445 |
Improvements |
| 446 |
^^^^^^^^^^^^ |
| 447 |
|
| 448 |
* [log] Add sub error for error message ``[ii][update][one]``. |
| 449 |
|
| 450 |
* Added a new API: ``grn_highlighter_clear_keywords()``. |
| 451 |
|
| 452 |
* Added a new predicate: ``grn_obj_is_number_family_bulk()``. |
| 453 |
|
| 454 |
* Added a new API: ``grn_plugin_proc_get_value_mode()``. |
| 455 |
|
| 456 |
* [:doc:`/reference/functions/vector_find`] Added a new function ``vector_find()``. |
| 457 |
|
| 458 |
* Suppress memcpy warnings in msgpack. |
| 459 |
|
| 460 |
* Updated mruby from 1.0.0 to 1.4.1. |
| 461 |
|
| 462 |
* [doc][:doc:`/reference/api/grn_obj`] Added API reference for ``grn_obj_is_index_column()``. |
| 463 |
|
| 464 |
* [windows] Suppress printf format warnings. |
| 465 |
|
| 466 |
* [windows] Suppress warning by msgpack. |
| 467 |
|
| 468 |
* [:doc:`/reference/api/grn_obj`][:doc:`/reference/api/plugin`] Added encoding converter. |
| 469 |
rules: |
| 470 |
|
| 471 |
* grn_ctx::errbuf: grn_encoding |
| 472 |
|
| 473 |
* grn_logger_put: grn_encoding |
| 474 |
|
| 475 |
* mruby: UTF-8 |
| 476 |
|
| 477 |
* path: locale |
| 478 |
|
| 479 |
* [mrb] Added ``LocaleOutput``. |
| 480 |
|
| 481 |
* [windows] Supported converting image path to grn_encoding. |
| 482 |
|
| 483 |
* [:doc:`/reference/tokenizers`][TokenMecab] Convert error message encoding. |
| 484 |
|
| 485 |
* [:doc:`/reference/window_functions/window_sum`] Supported dynamic column as a target column. |
| 486 |
|
| 487 |
* [doc][:doc:`/reference/api/grn_obj`] Added API reference for ``grn_obj_is_vector_column()``. |
| 488 |
|
| 489 |
* [:doc:`/reference/commands/column_create`] Added more validations. |
| 490 |
|
| 491 |
* 1: Full text search index for vector column must have ``WITH_SECTION`` flag. |
| 492 |
(Note that TokenDelmit with ``WITH_POSITION`` without ``WITH_SECTION`` is permitted. |
| 493 |
It's useful pattern for tag search.) |
| 494 |
|
| 495 |
* 2: Full text search index for vector column must not be multi column index. |
| 496 |
detail: https://github.com/groonga/groonga/commit/08e2456ba35407e3d5172f71a0200fac2a770142 |
| 497 |
|
| 498 |
* [:doc:`/reference/executables/grndb`] Disabled log check temporarily. |
| 499 |
Because it's not completed yet. |
| 500 |
|
| 501 |
Fixes |
| 502 |
^^^^^ |
| 503 |
|
| 504 |
* [:doc:`/reference/functions/sub_filter`] Fixed too much score with a too filtered case. |
| 505 |
|
| 506 |
* Fixed build error if KyTea is installed. |
| 507 |
|
| 508 |
* [:doc:`/reference/executables/grndb`] Fixed output channel. |
| 509 |
|
| 510 |
* [query-log][show-condition] Maybe fixed a crash bug. |
| 511 |
|
| 512 |
* [highlighter][lexicon] Fixed a not highlighted bug. |
| 513 |
The keyword wasn't highlighted if keyword length is less than N ("N"-gram. |
| 514 |
In many cases, it's Bigram so "less than 2"). |
| 515 |
|
| 516 |
* [windows] Fixed a base path detection bug. |
| 517 |
If system locale DLL path includes 0x5c (``\`` in ASCII) such as "U+8868 |
| 518 |
CJK UNIFIED IDEOGRAPH-8868" in CP932, the base path detection is buggy. |
| 519 |
|
| 520 |
* [:doc:`/reference/tokenizers`][TokenNgram] Fixed wrong first character length. |
| 521 |
It's caused for "PARENTHESIZED IDEOGRAPH" characters such as |
| 522 |
"U+3231 PARENTHESIZED IDEOGRAPH STOCK". |
| 523 |
|
| 524 |
.. _release-8-0-3: |
| 525 |
|
| 526 |
Release 8.0.3 - 2018-05-29 |
| 527 |
-------------------------- |
| 528 |
|
| 529 |
Improvements |
| 530 |
^^^^^^^^^^^^ |
| 531 |
|
| 532 |
* [:doc:`/reference/functions/highlight_html`] Support highlight of results of |
| 533 |
the search by ``NormalizerNFKC100`` or ``TokenNgram``. |
| 534 |
|
| 535 |
* [:doc:`/reference/tokenizers`] Added new option for ``TokenNgram`` that |
| 536 |
``report_source_location option`` . |
| 537 |
This option used when highlighting with ``highlight_html`` use a lexicon. |
| 538 |
|
| 539 |
* [:doc:`/reference/normalizers`] Added new option for ``NormalizerNFKC100`` that |
| 540 |
``unify_middle_dot option``. |
| 541 |
This option normalizes middle dot. You can search with or without ``・`` |
| 542 |
(middle dot) and regardless of ``・`` position. |
| 543 |
|
| 544 |
* [:doc:`/reference/normalizers`] Added new option for ``NormalizerNFKC100`` that |
| 545 |
``unify_katakana_v_sounds option``. |
| 546 |
This option normalizes ``ヴァヴィヴヴェヴォ`` (katakana) to ``バビブベボ`` (katakana). |
| 547 |
For example, you can search ``バイオリン`` (violin) in ``ヴァイオリン`` (violin). |
| 548 |
|
| 549 |
* [:doc:`/reference/normalizers`] Added new option for ``NormalizerNFKC100`` that |
| 550 |
``unify_katakana_bu_sound option``. |
| 551 |
This option normalizes ``ヴァヴィヴゥヴェヴォ`` (katakana) to ``ブ`` (katakana). |
| 552 |
For example, you can search ``セーブル`` (katakana) and ``セーヴル`` in |
| 553 |
``セーヴェル`` (katakana). |
| 554 |
|
| 555 |
* [:doc:`/reference/functions/sub_filter`] Supported ``sub_filter`` optimization |
| 556 |
for the too filter case. |
| 557 |
this optimize is valid when records are enough narrowed down before |
| 558 |
``sub_filter`` execution as below. |
| 559 |
|
| 560 |
* [:doc:`/reference/executables/groonga-httpd`] Made all workers context address |
| 561 |
to unique. |
| 562 |
context address is ``#{ID}`` of below query log. |
| 563 |
|
| 564 |
| #{TIME_STAMP}|#{MESSAGE} |
| 565 |
| #{TIME_STAMP}|#{ID}|>#{QUERY} |
| 566 |
| #{TIME_STAMP}|#{ID}|:#{ELAPSED_TIME} #{PROGRESS} |
| 567 |
| #{TIME_STAMP}|#{ID}|<#{ELAPSED_TIME} #{RETURN_CODE} |
| 568 |
|
| 569 |
* [:doc:`/reference/commands/delete`] Added new options that ``limit``. |
| 570 |
You can limit the number of delete records as below example. |
| 571 |
``delete --table Users --filter '_key @^ "b"' --limit 4`` |
| 572 |
|
| 573 |
* [httpd] Updated bundled nginx to 1.14.0. |
| 574 |
|
| 575 |
Fixes |
| 576 |
^^^^^ |
| 577 |
|
| 578 |
* [:doc:`/reference/commands/logical_select`] Fixed memory leak when an error occurs |
| 579 |
in filtered dynamic columns. |
| 580 |
|
| 581 |
* [:doc:`/reference/commands/logical_count`] Fixed memory leak on initial dynamic |
| 582 |
column error. |
| 583 |
|
| 584 |
* [:doc:`/reference/commands/logical_range_filter`] Fixed memory leak when an error |
| 585 |
occurs in dynamic column evaluation. |
| 586 |
|
| 587 |
* [:doc:`/reference/tokenizers`] Fixed a bug that the wrong ``source_offset`` when a |
| 588 |
loose tokenizing such as ``loose_symbol`` option. |
| 589 |
|
| 590 |
* [:doc:`/reference/normalizers`] Fixed a bug that FULLWIDTH LATIN CAPITAL LETTERs |
| 591 |
such as ``U+FF21 FULLWIDTH LATIN CAPITAL LETTER A`` aren't normalized to LATIN SMALL |
| 592 |
LETTERs such as ``U+0061 LATIN SMALL LETTER A``. |
| 593 |
If you have been used ``NormalizerNFKC100`` , you must recreate your indexes. |
| 594 |
|
| 595 |
.. _release-8-0-2: |
| 596 |
|
| 597 |
Release 8.0.2 - 2018-04-29 |
| 598 |
-------------------------- |
| 599 |
|
| 600 |
Improvements |
| 601 |
^^^^^^^^^^^^ |
| 602 |
|
| 603 |
* [:doc:`/reference/executables/grndb`][:ref:`grndb-force-truncate`] Improved |
| 604 |
``grndb recover --force-truncate`` option that it can be truncated even if |
| 605 |
locks are left on the table. |
| 606 |
|
| 607 |
* [:doc:`/reference/commands/logical_range_filter`] Added ``sort_keys`` option. |
| 608 |
|
| 609 |
* Added a new function ``time_format()``. |
| 610 |
You can specify time format against a column of ``Time`` type. |
| 611 |
You can specify with use format of ``strftime`` . |
| 612 |
|
| 613 |
* [:doc:`/reference/tokenizers`] Support new tokenizer ``TokenNgram``. |
| 614 |
You can change its behavior dynamically via options. |
| 615 |
Here is a list of available options: |
| 616 |
|
| 617 |
* ``n`` : "N" of Ngram. For example, "3" for trigram. |
| 618 |
* ``loose_symbol`` : Tokenize keywords including symbols, to be searched |
| 619 |
by both queries with/without symbols. For example, a keyword |
| 620 |
"090-1111-2222" will be found by any of "09011112222", "090", "1111", |
| 621 |
"2222" and "090-1111-2222". |
| 622 |
* ``loose_blank`` : Tokenize keywords including blanks, to be searched |
| 623 |
by both queries with/without blanks. For example, a keyword |
| 624 |
"090 1111 2222" will be found by any of "09011112222", "090", "1111", |
| 625 |
"2222" and "090 1111 2222". |
| 626 |
* ``remove_blank`` : Tokenize keywords including blanks, to be searched |
| 627 |
by queries without blanks. For example, a keyword "090 1111 2222" will |
| 628 |
be found by any of "09011112222", "090", "1111" or "2222". Note that |
| 629 |
the keyword won't be found by a query including blanks like |
| 630 |
"090 1111 2222". |
| 631 |
|
| 632 |
* [:doc:`/reference/normalizers`] Support new normalizer "NormalizerNFKC100" based on Unicode NFKC (Normalization Form Compatibility Composition) for Unicode 10.0. |
| 633 |
|
| 634 |
* [:doc:`/reference/normalizers`] Support options for "NormalizerNFKC51" and "NormalizerNFKC100" normalizers. |
| 635 |
You can change their behavior dynamically. |
| 636 |
Here is a list of available options: |
| 637 |
|
| 638 |
* ``unify_kana`` : Same pronounced characters in all of full-width |
| 639 |
Hiragana, full-width Katakana and half-width Katakana are regarded as |
| 640 |
the same character. |
| 641 |
* ``unify_kana_case`` : Large and small versions of same letters in all of |
| 642 |
full-width Hiragana, full-width Katakana and half-width Katakana are |
| 643 |
regarded as the same character. |
| 644 |
* ``unify_kana_voiced_sound_mark`` : Letters with/without voiced sound |
| 645 |
mark and semi voiced sound mark in all of full-width Hiragana, |
| 646 |
full-width Katakana and half-width Katakana are regarded as the same |
| 647 |
character. |
| 648 |
* ``unify_hyphen`` : The characters like hyphen are regarded as the hyphen. |
| 649 |
* ``unify_prolonged_sound_mark`` : The characters like prolonged sound mark |
| 650 |
are regarded as the prolonged sound mark. |
| 651 |
* ``unify_hyphen_and_prolonged_sound_mark`` : The characters like hyphen |
| 652 |
and prolonged sound mark are regarded as the hyphen. |
| 653 |
|
| 654 |
* [:doc:`/reference/commands/dump`] Support output of tokenizer's options and |
| 655 |
normalizer's options. Groonga 8.0.1 and earlier versions cannot import dump |
| 656 |
including options for tokenizers or normalizers generated by Groonga 8.0.2 |
| 657 |
or later, and it will occurs error due to unsupported information. |
| 658 |
|
| 659 |
* [:doc:`/reference/commands/schema`] Support output of tokenizer's options and |
| 660 |
normalizer's options. Groonga 8.0.1 and earlier versions cannot import schema |
| 661 |
including options for tokenizers or normalizers generated by Groonga 8.0.2 |
| 662 |
or later, and it will occurs error due to unsupported information. |
| 663 |
|
| 664 |
* Supported Ubuntu 18.04 (Bionic Beaver) |
| 665 |
|
| 666 |
Fixes |
| 667 |
^^^^^ |
| 668 |
|
| 669 |
* Fixed a bug that unexpected record is matched with space only query. |
| 670 |
[groonga-dev,04609][Reported by satouyuzh] |
| 671 |
|
| 672 |
* Fixed a bug that wrong scorer may be used. |
| 673 |
It's caused when multiple scorers are used as below. |
| 674 |
``--match_columns 'title || scorer_tf_at_most(content, 2.0)'``. |
| 675 |
|
| 676 |
* Fixed a bug that it may also take so much time to change "thread_limit". |
| 677 |
|
| 678 |
Thanks |
| 679 |
^^^^^^ |
| 680 |
|
| 681 |
* satouyuzh |
| 682 |
|
| 683 |
.. _release-8-0-1: |
| 684 |
|
| 685 |
Release 8.0.1 - 2018-03-29 |
| 686 |
-------------------------- |
| 687 |
|
| 688 |
Improvements |
| 689 |
^^^^^^^^^^^^ |
| 690 |
|
| 691 |
* [:doc:`/reference/log`] Show ``filter`` conditions in query log. |
| 692 |
It's disabled by default. To enable it, you need to set an environment |
| 693 |
variable ``GRN_QUERY_LOG_SHOW_CONDITION=yes``. |
| 694 |
|
| 695 |
* Install ``*.pdb`` into the directory where ``*.dll`` and ``*.exe`` |
| 696 |
are installed. |
| 697 |
|
| 698 |
* [:doc:`/reference/commands/logical_count`] Support ``filtered`` |
| 699 |
stage dynamic columns. |
| 700 |
|
| 701 |
* [:doc:`/reference/commands/logical_count`] |
| 702 |
[:ref:`logical-count-post-filter`] Added a new filter timing. |
| 703 |
It's executed after ``filtered`` stage columns are generated. |
| 704 |
|
| 705 |
* [:doc:`/reference/commands/logical_select`] |
| 706 |
[:ref:`logical-select-post-filter`] Added a new filter timing. |
| 707 |
It's executed after ``filtered`` stage columns are generated. |
| 708 |
|
| 709 |
* Support LZ4/Zstd/zlib compression for vector data. |
| 710 |
|
| 711 |
* Support alias to accessor such as ``_key``. |
| 712 |
|
| 713 |
* [:doc:`/reference/commands/logical_range_filter`] Optimize |
| 714 |
window function for large result set. |
| 715 |
If we find enough matched records, we don't apply window function |
| 716 |
to the remaining windows. |
| 717 |
|
| 718 |
TODO: Disable this optimization for small result set if its overhead |
| 719 |
is not negligible. The overhead is not evaluated yet. |
| 720 |
|
| 721 |
* [:doc:`/reference/commands/select`] Added ``match_escalation`` parameter. |
| 722 |
You can force to enable match escalation by ``--match_escalation yes``. |
| 723 |
It's stronger than ``--match_escalation_threshold 99999....999`` |
| 724 |
because ``--match_escalation yes`` also works with |
| 725 |
``SOME_CONDITIONS && column @ 'query'``. |
| 726 |
``--match_escalation_threshold`` isn't used in this case. |
| 727 |
|
| 728 |
The default is ``--match_escalation auto``. It doesn't change the |
| 729 |
current behavior. |
| 730 |
|
| 731 |
You can disable match escalation by ``--match_escalation no``. |
| 732 |
It's the same as ``--match_escalation_threshold -1``. |
| 733 |
|
| 734 |
* [httpd] Updated bundled nginx to 1.13.10. |
| 735 |
|
| 736 |
Fixes |
| 737 |
^^^^^ |
| 738 |
|
| 739 |
* Fixed memory leak that occurs when a prefix query doesn't match any token. |
| 740 |
[GitHub#820][Patch by Naoya Murakami] |
| 741 |
|
| 742 |
* Fixed a bug that a cache for different databases is used when |
| 743 |
multiple databases are opened in the same process. |
| 744 |
|
| 745 |
* Fixed a bug that a wrong index is constructed. |
| 746 |
This occurs only when the source of a column is a vector column and |
| 747 |
``WITH_SECTION`` isn't specified. |
| 748 |
|
| 749 |
* Fixed a bug that a constant value can overflow or underflow in |
| 750 |
comparison (>,>=,<,<=,==,!=). |
| 751 |
|
| 752 |
Thanks |
| 753 |
^^^^^^ |
| 754 |
|
| 755 |
* Naoya Murakami |
| 756 |
|
| 757 |
.. _release-8-0-0: |
| 758 |
|
| 759 |
Release 8.0.0 - 2018-02-09 |
| 760 |
-------------------------- |
| 761 |
|
| 762 |
This is a major version up! But It keeps backward compatibility. |
| 763 |
You can upgrade to 8.0.0 without rebuilding database. |
| 764 |
|
| 765 |
Improvements |
| 766 |
^^^^^^^^^^^^ |
| 767 |
|
| 768 |
* [:doc:`/reference/commands/select`] Added ``--drilldown_adjuster`` and |
| 769 |
``--drilldowns[LABEL].adjuster``. |
| 770 |
You can adjust score against result of drilldown. |
| 771 |
|
| 772 |
* [:ref:`online-index-construction`] Changed environment variable name |
| 773 |
``GRN_II_REDUCE_EXPIRE_ENABLE`` to ``GRN_II_REDUCE_EXPIRE_THRESHOLD``. |
| 774 |
|
| 775 |
``GRN_II_REDUCE_EXPIRE_THRESHOLD=0 == GRN_II_REDUCE_EXPIRE_ENABLE=no``. |
| 776 |
``GRN_II_REDUCE_EXPIRE_THRESHOLD=-1`` uses |
| 777 |
``ii->chunk->max_map_seg / 2`` as threshold. |
| 778 |
``GRN_II_REDUCE_EXPIRE_THRESHOLD > 0`` uses |
| 779 |
``MIN(ii->chunk->max_map_seg / 2, GRN_II_REDUCE_EXPIRE_THRESHOLD)`` |
| 780 |
as threshold. |
| 781 |
``GRN_II_REDUCE_EXPIRE_THRESHOLD=32`` is the default. |
| 782 |
|
| 783 |
* [:doc:`/reference/functions/between`] Accept ``between()`` without borders. |
| 784 |
If the number of arguments passed to ``between()`` is 3, the 2nd and 3rd |
| 785 |
arguments are handled as the inclusive edges. [GitHub#685] |
| 786 |
|
| 787 |
Fixes |
| 788 |
^^^^^ |
| 789 |
|
| 790 |
* Fixed a memory leak for normal hash table. |
| 791 |
[GitHub:mroonga/mroonga#190][Reported by fuku1] |
| 792 |
|
| 793 |
* Fix a memory leak for normal array. |
| 794 |
|
| 795 |
* [:doc:`/reference/commands/select`] Stopped to cache when ``output_columns`` |
| 796 |
uses not stable function. |
| 797 |
|
| 798 |
* [Windows] Fixed wrong value report on ``WSASend`` error. |
| 799 |
|
| 800 |
Thanks |
| 801 |
^^^^^^ |
| 802 |
|
| 803 |
* fuku1 |