Debian Codegraph @

doc/source/news/6.rst

raw
1 .. -*- rst -*-
2
3 News - 6 series
4 ===============
5
6 .. _release-6-1-5:
7
8 Release 6.1.5 - 2017-01-23
9 --------------------------
10
11 This is a bug fix release of 6.1.4. 6.1.4 users should upgrade to
12 6.1.5.
13
14 Improvements
15 ^^^^^^^^^^^^
16
17 * Supported binary operation against nonexistent reference column
18 value. It's always false.
19
20 * [:doc:`/reference/commands/logical_select`] Added
21 :ref:`logical-select-sort-keys`,
22 :ref:`logical-select-drilldown-sort-keys` and
23 :ref:`logical-select-drilldowns-label-sort-keys`.
24 :ref:`logical-select-sortby`,
25 :ref:`logical-select-drilldown-sortby` and
26 :ref:`logical-select-drilldowns-label-sortby` are deprecated.
27
28 Fixes
29 ^^^^^
30
31 * [:doc:`/reference/commands/select`] Fixed a bug that index search
32 may not return matched record.
33
34 .. _release-6-1-4:
35
36 Release 6.1.4 - 2017-01-18
37 --------------------------
38
39 This is a bug fix release of 6.1.3. 6.1.3 users should upgrade to
40 6.1.4.
41
42 Improvements
43 ^^^^^^^^^^^^
44
45 * [:ref:`script-syntax-near-search-operator`] Supported customizing
46 the max interval.
47
48 * [:ref:`script-syntax-near-search-operator`] Supported unlimited interval.
49
50 * Stopped to install ``groonga-httpd-restart`` when ``groonga-httpd``
51 isn't installed. [GitHub#626] [Patch by OBATA Akio]
52
53 * Improved index update performance against non natural language text
54 data such as multi column index data in Mroonga.
55 [groonga-dev,04219] [Reported by Masanori Miyashita]
56 [GitHub#617]
57
58 * [:doc:`/reference/commands/logical_select`] Supported
59 ``drilldowns[LABEL]`` form. ``drilldown[LABEL]`` form is deprecated.
60
61 * Supported using system Onigmo.
62 [GitUub#628] [Patch by OBATA Akio]
63
64 Fixes
65 ^^^^^
66
67 * [:doc:`/reference/commands/truncate`] Fixed a memory leak. It's
68 caused when the target is :ref:`table-hash-key` or
69 :ref:`table-pat-key` and the target table has many token filters are
70 registered. [GitHub#622] [Patch by Naoya Murakami]
71
72 * [:doc:`/reference/commands/select`] Fixed a bug that old cache is
73 used after :doc:`/reference/commands/column_rename` is used.
74
75 * [:doc:`/reference/commands/select`] Fixed a bug that index search
76 may not return matched record. [GitHub#624] [Patch by Naoya Murakami]
77
78 Thanks
79 ^^^^^^
80
81 * Naoya Murakami
82
83 * OBATA Akio
84
85 .. _release-6-1-3:
86
87 Release 6.1.3 - 2017-01-06
88 --------------------------
89
90 Improvements
91 ^^^^^^^^^^^^
92
93 * [:c:func:`grn_db_recover()`][:doc:`/reference/executables/grndb`] Reduced memory usage when only 1 thread mode.
94
95 Fixes
96 ^^^^^
97
98 * Reverted "Improved performance of updating inverted indexes in the worst case".
99 It had reported error when key has multibyte character.
100 This change was included in 6.1.2.
101
102 * [:ref:`token-regexp`] Fixed a bug that `\\A${ONE_CHARACTER}\\z`
103 returns all one character values.
104
105 .. _release-6-1-2:
106
107 Release 6.1.2 - 2016-12-31
108 --------------------------
109
110 Improvements
111 ^^^^^^^^^^^^
112
113 * windows: Supported to bundle groonga-normalizer-mysql.
114
115 * [:doc:`/reference/log`] Added description about log format with
116 ``PID`` case.
117
118 * [:doc:`/install/centos`] Improved installation procedure about
119 recent ``groonga-release`` package.
120
121 * [:doc:`/reference/commands/load`] Supported to show
122 ``{"n_loaded_records": N}`` in response for command version 3 or
123 later.
124
125 * [:doc:`/reference/commands/load`] Supported ``--output_ids yes``
126 parameter for command version 3 or later. If ``--output_ids yes`` is
127 specified, loaded record IDs(``loaded_ids``) are also returned. ID
128 is 0 for record that is failed to add.
129
130 * [:doc:`/install/others`] Added installation instruction about
131 depended packages (Zstandard, LZ4)
132
133 * Changed to use Onigmo 6.0 as regular expression library.
134
135 * Marked some features as stable.
136
137 * :doc:`/reference/executables/grndb` command.
138 * :doc:`/reference/commands/request_cancel` command.
139 * :doc:`/reference/functions/highlight_html` function.
140 * :doc:`/reference/functions/highlight_full` function.
141 * :doc:`/reference/functions/snippet_html` function.
142
143 * [httpd] Updated bundled nginx to 1.11.8.
144
145 * Improved to reduce ``AND`` search response time.
146 [GitHub#618,#619,#620] [Patch by Naoya Murakami]
147
148 * Improved performance of updating inverted indexes in the worst case.
149 This fix also reduces memory usage in that
150 process. [groonga-dev,04219] [Reported by Masanori Miyashita]
151
152 Fixes
153 ^^^^^
154
155 * Added missing ``NULL`` check about return value of
156 ``grn_ctx_at``. This fix prevents from unexpected crash bug.
157
158 Thanks
159 ^^^^^^
160
161 * Naoya Murakami
162 * Masanori Miyashita
163
164 .. _release-6-1-1:
165
166 Release 6.1.1 - 2016-11-29
167 --------------------------
168
169 Improvements
170 ^^^^^^^^^^^^
171
172 * [:doc:`/reference/commands/select`] Supported the following functions in slices.
173
174 * :doc:`/reference/functions/between`
175 * :doc:`/reference/functions/geo_in_circle`
176 * :doc:`/reference/functions/geo_in_rectangle`
177 * :doc:`/reference/functions/in_values`
178 * :doc:`/reference/functions/fuzzy_search`
179 * :doc:`/reference/functions/query`
180
181 * [:doc:`/reference/executables/groonga-httpd`] Supported PID output to
182 log file. It is useful to distinct multiple worker processes.
183 The messages are logged as ``TIMESTAMP|MARK|PID: MESSAGE``.
184
185 * [ja] Changed to stop compressing small data. If column data is less
186 than 256 byte, the data aren't compressed even when ``COMPRESS_ZLIB``
187 or ``COMPRESS_LZ4`` or ``COMPRESS_ZSTD`` is specified. By this change,
188 performance and space efficiency will be improved.
189
190 * [:doc:`/reference/commands/column_create`] Supported Zstandard.
191 ``COMPRESS_ZSTD`` flag is used to enable this feature.
192
193 * [rpm][centos] Enabled Zstandard for CentOS 6 or later packages.
194
195 * [:doc:`/reference/functions/between`] Supported ``between(_key, ...)``
196 as target.
197
198 * [httpd] Updated bundled nginx to 1.11.6.
199
200 Fixes
201 ^^^^^
202
203 * Fixed a bug that needless index check reports error wrongly when the
204 default column value such as 0 exists in lexicon. It shows error
205 message such as "[ii][delete][one] failed to allocate a segment:
206 ..." unexpectedly.
207
208 * [:doc:`/reference/commands/logical_table_remove`] Fixed a bug that
209 it may return error with ``--dependent yes`` option. In the previous
210 version, if one or more columns that refer the same table, the error
211 is occurred.
212
213 * [sort] Fixed a crash bug when one of sort keys is a compressed
214 column and ``--query`` and/or ``--filter`` are used at the same time.
215
216 .. _release-6-1-0:
217
218 Release 6.1.0 - 2016-10-29
219 --------------------------
220
221 Improvements
222 ^^^^^^^^^^^^
223
224 * [:doc:`/reference/commands/dump`] Supported to sort load table names by key instead of ID to make output stable. This is incompatible change but it makes easy to compare result of dump command.
225
226 * [:doc:`/reference/commands/table_create`][:doc:`/reference/commands/column_create`]
227 Revised outdated descriptions with execution examples. English
228 documentation is also published and section about small/medium index
229 column is also added.
230
231 * [experimental][httpd] Supported mruby to customize configuration
232 settings in groonga-httpd.conf.
233
234 * [windows] Updated bundled Groonga Admin to 0.9.5. It is recommended
235 to upgrade because amount of memory usage is drastically
236 reduced. Note that this version drops Groonga 5.0.8 or earlier
237 support.
238
239 * Added log token and token ID on error. [Gitter:groonga/ja:58043f77614116a2568d529c]
240 [Suggested by torinky]
241
242 * [:doc:`/reference/tables`] Updated description about the max record ID.
243
244 * [mruby] Supported to convert time of ``mrb_value`` to ``grn_bulk``.
245 [GitHub:#607] [Patch by Naoya Murakami]
246
247 * [ubuntu] Supported Ubuntu 16.10 (Yakkety Yak)
248
249 * [httpd] Updated bundled nginx to 1.11.5.
250
251 Fixes
252 ^^^^^
253
254 * Fixed a bug that table of index column was reported in log instead of
255 correct index column.
256
257 * Fixed a bug that in posting list skip optimization in index search
258 may skip to wrong
259 position. [Gitter:groonga/ja:57f2ff87d45d7f0f525e2216] [Reported by
260 torinky]
261
262 * Fixed a memory leak on static index construction.
263
264 * [hash] Fixed a memory leak for many token filters are set case.
265
266 * [:doc:`/reference/commands/select`] Fixed a bug that wrong column
267 name that starts with number in output_columns is not ignored. It
268 caused a syntax error.
269
270 Thanks
271 ^^^^^^
272
273 * torinky
274 * Naoya Murakami
275
276 .. _release-6-0-9:
277
278 Release 6.0.9 - 2016-09-29
279 --------------------------
280
281 Improvements
282 ^^^^^^^^^^^^
283
284 * [:doc:`/reference/commands/logical_table_remove`] Supported to remove broken
285 tables and columns. It supports ``force`` parameter.
286
287 * [:doc:`/reference/commands/select`] Supported match_columns, query,
288 query_flags and query_expander for slices.
289
290 * [http][httpd] Supported incomplete POST-ed JSON. Only passed JSON is
291 processed.
292
293 * [httpd] Changed to stop not to create the default log file when
294 custom file is specified.
295
296 * Changed to reduce the default lock timeout to 15min from 2.7h.
297
298 * [:doc:`/reference/executables/groonga-httpd`] support "~" modifier
299 in location such as "location ~ /d/...".
300
301 * [mruby] Updated to the latest mruby to fix build error with Visutal
302 Studio.
303
304 * [httpd] Updated bundled nginx to 1.11.4.
305
306 Fixes
307 ^^^^^
308
309 * Fixed build error on OpenBSD. OpenBSD doesn't provide
310 ``TCP_NODELAY``. [MariaDB JIRA: fix MDEV-7209][Reported by Brad
311 Smith]
312
313 * Fixed a missing deleted check for indexes. It causes missing search
314 results even though it should be matched. Groonga 6.0.3 or later
315 version are affected. [groonga-dev, 04107] [Reported by Kazuhiko]
316
317 * [doc] Fixed a missing entry in Groonga 6.0.2 news that sequential
318 search is also executed as a fallback for :doc:`/reference/functions/geo_in_circle` [Reported by Gurunavi,
319 Inc.]
320
321 * [:doc:`/reference/commands/table_create`] Fixed a bug that
322 ``table_create`` command accepts no key type for ``TABLE_PAT_KEY``,
323 ``TABLE_HASH_KEY`` and ``TABLE_DAT_KEY`` tables. It creates a
324 invalid table. [GitHub#599]
325
326 * [admin] Fixed a bug that it can not create a new record.
327
328 * Fixed a bug that select command with a wrong filter causes
329 crash. [GitHub#601]
330
331
332 Thanks
333 ^^^^^^
334
335 * Brad Smith
336 * Kazuhiko
337 * Gurunavi, Inc.
338
339 .. _release-6-0-8:
340
341 Release 6.0.8 - 2016-08-29
342 --------------------------
343
344 Improvements
345 ^^^^^^^^^^^^
346
347 * [:doc:`/reference/commands/object_list`] Supported to show more
348 properties such as ``value_size`` and ``n_elements`` in metadata.
349
350 * Supported operator per selector. This change enables to choose
351 correct index for selector. It means that ``between()`` chooses
352 index for range search, ``in_values()`` chooses index for equality
353 comparison. [GitHub#589] [Reported by Naoya Murakami]
354
355 * [debian] Changed to use nginx log reopen feature instead of
356 Groonga's [:doc:`/reference/commands/log_reopen`] command because
357 log_reopen command works only for one worker. On the contrast, nginx
358 log reopen feature works for multiple workers.
359
360 * [:doc:`/reference/commands/table_copy`] Added ``table_copy`` command
361 which copies specified table.
362
363 * [:doc:`/reference/commands/column_copy`] Supported to cast A table
364 record to B table record. It fixes a case that ``column_copy``
365 failure in the previous version. Note that both tables must support
366 key.
367
368 * [:doc:`/reference/commands/column_copy`] Supported reference type
369 vector.
370
371 * [admin] Supported no response error case. It fixes the problem
372 that "Loading..." message will remain displayed.
373
374 * [:doc:`/reference/executables/groonga`][http] Supported to return
375 400 Bad Request against not implemented function.
376
377 * [:doc:`/reference/executables/groonga-httpd`] Supported to return
378 body on failure.
379
380 * [:doc:`/reference/executables/groonga-httpd`] Supported to load
381 large data as stream.
382
383 * Supported sequential search by ``_key`` when it is specified as a
384 source of index column.
385
386 * Supported to report index information on resolving by accessor for
387 data column if log level is equal to info.
388
389 * Added valid lexicon check on setting index sources. If users create
390 wrong index for sources by
391 [:doc:`/reference/commands/column_create`], this check shows
392 details.
393
394 * [:doc:`/limitations`] Updated description about table
395 limitations.
396
397 Fixes
398 ^^^^^
399
400 * [:doc:`/reference/commands/column_create`] Fixed a bug that buffer
401 overflow occurs on logging.
402
403 * Fixed to output response even when critical level error.
404
405 * Fixed to ensure clearing output buffer for each grn_ctx_send.
406 This change solves sometimes response may broken. [GitHub#330]
407
408 * [:doc:`/reference/functions/fuzzy_search`] Fixed a bug that
409 ``prefix_match_size`` option returns wrong node. It causes a problem
410 that ``fuzzy_search`` returns wrong edit distance. [GitHub#590]
411 [Patch by Naoya Murakami]
412
413 * [:doc:`/reference/commands/load`] Changed to report error when
414 column value set is failed. It enables you to notice mismatch
415 between type of column and actual value.
416
417 * [:doc:`/reference/executables/groonga-httpd`] Fixed a bug that wrong
418 HTTP status is set on success.
419
420 * [:doc:`/reference/functions/fuzzy_search`][:doc:`/reference/functions/in_values`]
421 Fixed to resolve record id correctly on sequential
422 search. [GitHub#591,#592,#593] [Patch by Naoya Murakami]
423
424 Thanks
425 ^^^^^^
426
427 * Naoya Murakami
428
429 .. _release-6-0-7:
430
431 Release 6.0.7 - 2016-07-29
432 --------------------------
433
434 Improvements
435 ^^^^^^^^^^^^
436
437 * [:doc:`/reference/functions/string_substring`] Added
438 ``string_substring`` function to extract a substring from given
439 string. The syntax of ``string_substring`` is
440 ``string_substring(string, from, [length])``. [GitHub#564] [Patch by
441 Naoya Murakami]
442
443 * [experimental] Added ``GRN_II_MAX_N_SEGMENTS_TINY`` and
444 ``GRN_II_MAX_N_CHUNKS_TINY`` environment variables to customize the
445 value about default max N segments/chunks. This feature is affected to
446 index column for fixed size scalar column. It reduces memory usage
447 but not tested widely yet.
448
449 * [:doc:`/reference/functions/vector_slice`] Added ``vector_slice``
450 function to extract specific elements in vector column. [GitHub#582]
451 [Patch by Naoya Murakami]
452
453 * Supported index range search for ``_key`` of PAT/DAT table.
454 [GitHub#583]
455
456 * [:doc:`/reference/commands/object_list`] Added ``object_list``
457 command for debugging. It is useful to investigate whether database
458 is corrupted or not.
459
460 * Added a script that checks ``object_list`` response.
461
462 * [mruby] Supported float bulk in expression_rewriter. [GitHub#587]
463 [Patch by Naoya Murakami]
464
465 * [:doc:`/reference/commands/dump`] Changed output order about table
466 by name instead of ID. It breaks dump output compatibility but it
467 can be restored as usual.
468
469 * [windows] Updated bundled msgpack to 2.0.0.
470
471 * [windows] Added
472 :doc:`/reference/executables/groonga-suggest-create-dataset`.
473
474 * [httpd] Updated bundled nginx to 1.11.3.
475
476 * [deb] Dropped support for Ubuntu 15.10 (Wily werewolf).
477
478 Fixes
479 ^^^^^
480
481 * [examples edict] Fixed to use ``gzcat`` instead of ``zcat`` if
482 exists. [GitHub#576] [Patch by Yuya TAMANO]
483
484 * Added missing null-check before dereferencing a
485 pointer. [GitHub#579] [Patch by Sho Minagawa]
486
487 * Fixed not to perform a sequential search if an index is available.
488 [GitHub#580]
489
490 * [:doc:`/reference/commands/load`] Fixed a bug that ``Time`` column
491 can reduce the precision of values. [GitHub#581]
492
493 * Fixed a bug that object literal expression codes is broken when
494 executing multiple logical operations. [GitHub#584] [Patch by Naoya
495 Murakami]
496
497 * Fixed a bug that columns of Float, WGS84GeoPoint and TokyoGeoPoint
498 were created with ``GRN_OBJ_COMPRESS_ZLIB`` even if the flag was not
499 specified. [GitHub#586] [Reported by Naoya Murakami]
500
501 Thanks
502 ^^^^^^
503
504 * Naoya Murakami
505 * Yuya TAMANO
506 * Sho Minagawa
507
508 .. _release-6-0-5:
509
510 Release 6.0.5 - 2016-06-29
511 --------------------------
512
513 Improvements
514 ^^^^^^^^^^^^
515
516 * [:doc:`/reference/commands/io_flush`] Marked as stable command.
517
518 * [mruby] Supported to optimize prefix search by estimating
519 data size efficiently
520
521 * [:doc:`/reference/functions/fuzzy_search`] Supported
522 ``max_distance`` option as 3rd argument to specify it
523 easily. [GitHub#553] [Patch by Naoya Murakami]
524
525 * [:doc:`/reference/commands/query_expand`] Supported command to
526 expand query. It is useful if there are many synonyms.
527
528 * [:doc:`/reference/commands/select`] Supported ``--drilldown`` with
529 ``command_version=3``. [groonga-dev,04055] [Reported by Naoya
530 Murakami]
531
532 * Removed needless code from ``grn_table_select_sequential()``.
533 [GitHub#560] [Reported by Sho Minagawa]
534
535 * grn_table_setoperation(): Changed to update score instead of
536 overwriting by ``GRN_OP_ADJUST``. This change is introduced to keep
537 consistency with ``grn_ii_posting_add()``. [groonga-dev,04058]
538 [Reported by Naoya Murakami]
539
540 * [:doc:`/reference/commands/dump`] Reduced the max opened
541 table/column files when 1 thread mode.
542
543 Fixes
544 ^^^^^
545
546 * [CMake][Windows] Fixed to install missing mruby
547 script. [groonga-dev,04040] [Reported by Soichiro Kiyokawa]
548
549 * [Windows] Changed to bundle msgpack-c.
550
551 * [:doc:`/install/others`] Fixed a typo
552 about default database encoding (utf8). [GitHub#549] [Patch by IWAI, Masaharu]
553
554 * [:doc:`/contribution/development/cooperation`] Fixed a typo
555 about product name (Twitter). [GitHub#550] [Patch by IWAI, Masaharu]
556
557 * Fixed a bug that specific records are not included into search
558 result when multiple index column is created with ``WITH_SECTION``
559 flag. [GitHub#551]
560
561 * Fixed a crash bug that searching while loading data with
562 ``GRN_II_CURSOR_SET_MIN_ENABLE=yes``. ``GRN_II_CURSOR_SET_MIN_ENABLE``
563 is enabled by default since Groonga 6.0.3.
564
565 * [:doc:`/reference/token_filters`] Fixed thread unsafe implementation.
566
567 * [doc] Fixed a typo in 6.0.4 release entry. [GitHub#559] [Patch by cafedomancer]
568
569 Thanks
570 ^^^^^^
571
572 * Naoya Murakami
573 * Soichiro Kiyokawa
574 * IWAI, Masaharu
575 * cafedomancer
576
577 .. _release-6-0-4:
578
579 Release 6.0.4 - 2016-06-06
580 --------------------------
581
582 It's a bug fix release of 6.0.3. It's recommend that Groonga 6.0.3
583 users upgrade to 6.0.4. This release fixes some search related
584 problems.
585
586 Fixes
587 ^^^^^
588
589 * [:doc:`/reference/commands/select`] Fixed a bug that ``--drilldown``
590 against a temporary column created by ``--columns`` refers freed
591 memory.
592
593 * Fixed a bug that search with large index may refer invalid data. It
594 takes a long time to return search result.
595 [GitHub#548][groonga-dev,04028][Reported by Atsushi Shinoda]
596
597 Thanks
598 ^^^^^^
599
600 * Atsushi Shinoda
601
602 .. _release-6-0-3:
603
604 Release 6.0.3 - 2016-05-29
605 --------------------------
606
607 Improvements
608 ^^^^^^^^^^^^
609
610 * [experimental] Added ``GRN_II_OVERLAP_TOKEN_SKIP_ENABLE`` and
611 ``GRN_NGRAM_TOKENIZER_REMOVE_BLANK_DISABLE`` environment variables
612 to improve performance of N-gram tokenizer. [GitHub#533][Patch by
613 Naoya Murakami]
614
615 * [:doc:`/reference/commands/table_create`] Stopped to ignore
616 nonexistent default tokenizer, normalizer or token filters. In the
617 previous versions, Groonga ignored a typo in
618 ``--default_tokenizer``, ``--normalizer`` or ``--token_filters``
619 parameter silently. It caused a delay in finding problems.
620
621 * [:doc:`/reference/commands/select`] output_columns v1: Supported
622 expression such as ``snippet_html(...)`` in output_columns.
623
624 * [:doc:`/reference/commands/select`] Removed a limitation about the
625 number of labeled drilldowns. In the previous versions, the number
626 of max labeled drilldowns is limited to 10.
627
628 * [:doc:`/reference/functions/number_classify`] Added a number
629 plugin. Use ``number_classify`` function to classify by value.
630
631 * Added a time plugin. Use ``time_classify_second``,
632 ``time_classify_minute``, ``time_classify_hour``,
633 ``time_classify_day``, ``time_classify_week``,
634 ``time_classify_month``, ``time_classify_year`` function to classify
635 by value.
636
637 * [:doc:`/reference/commands/select`] Supported dynamic column.
638 Dynamic columns can be used in ``output_columns``, ``drilldown`` and
639 ``sortby`` [GitHub#539,#541,#542,#544,#545][Patch by Naoya Murakami]::
640
641 select \
642 --columns[LABEL].stage filtered \
643 --columns[LABEL].type ShortText \
644 --columns[LABEL].flags COLUMN_SCALAR \
645 --columns[LABEL].value 'script syntax expression' \
646 ...
647
648 * [experimental][:doc:`/reference/commands/select`] Improved
649 performance for range/equal search and enough filtered case. Set
650 ``GRN_TABLE_SELECT_ENOUGH_FILTERED_RATIO`` environment variable to
651 enable this feature.
652
653 * [:doc:`/reference/commands/select`] Supported index used search for
654 filtered tables.
655
656 * Supported to detect changed database isn't closed. This feature is
657 useful to check database corruption when Groonga is crashed
658 unexpectedly.
659
660 * [:doc:`/reference/executables/grndb`] Supported detecting database
661 wasn't closed successfully case.
662
663 * Added ``--drilldown_filter``.
664
665 * Supported ``filter`` in labeled drilldown.
666
667 * Improved performance for using [:doc:`/reference/functions/between`]
668 without index. By between() optimization, there is a case that range
669 search is 100x faster than the previous version of between().
670
671 * [:doc:`/reference/window_functions/record_number`] Supported window
672 function.
673
674 * [experimental][:doc:`/reference/commands/select`] Supported ``--slices``.
675
676 * [:doc:`/reference/commands/select`] Deprecated ``--sortby`` and
677 ``--drilldown_sortby``. Use ``--sort_keys`` and
678 ``-drilldown_sort_keys`` instead.
679
680 * [:doc:`/reference/commands/select`] Deprecated ``--drilldown[...]``.
681 Use ``--drilldowns[...]`` instead.
682
683 * Added [:doc:`/reference/command/command_version`] 3. It uses object
684 literal based envelope.
685
686 * [groonga-httpd] Updated bundled nginx version to 1.11.0.
687
688 Fixes
689 ^^^^^
690
691 * [:doc:`/reference/commands/select`] output_columns v2: Fixed a bug
692 that ``*`` isn't expand to columns correctly.
693
694 * Fixed a bug that 1usec information is lost for time value.
695
696 * Fixed a crash bug when a mruby plugin is initialized with multiple
697 threads.
698
699 * Fixed a bug that static indexing crashes if a posting list is very long.
700 This bug may occur against enormous size of database. [GitHub#546]
701
702 Thanks
703 ^^^^^^
704
705 * Naoya Murakami
706
707 .. _release-6-0-2:
708
709 Release 6.0.2 - 2016-04-29
710 --------------------------
711
712 Improvements
713 ^^^^^^^^^^^^
714
715 * Supported bool in comparison operators (``>``, ``>=``, ``<``, ``<=``).
716 TRUE is casted to 1. FALSE is casted to 0. Thus you specify function
717 which returns boolean value in comparison.
718
719 * [groonga-http][:doc:`/reference/command/request_timeout`] Supported
720 ``request_timeout`` parameter. Canceled request returns
721 ``HTTP/1.1 408 Request Timeout`` status code.
722
723 * [:doc:`/reference/commands/table_tokenize`] Added ``index_column`` option.
724 [GitHub#534] [Patch by Naoya Murakami]
725
726 * [:doc:`/reference/commands/table_tokenize`] Supported to output ``estimated_size``.
727 [GitHub#518] [Patch by Naoya Murakami]
728
729 * [:doc:`/reference/functions/geo_in_rectangle`][:doc:`/reference/functions/geo_in_circle`]
730 Supported to work without index. In this case, sequential search is
731 executed as a fallback.
732
733 * Reduced needless internal loops. It improves phrase search performance.
734 [GitHub#519] [Patch by Naoya Murakami]
735
736 * [:doc:`/contribution`] Updated documentation about contribution.
737 [GitHub#522] [Patch by Hiroshi Ohkubo]
738
739 * [:doc:`/reference/command/return_code`] Updated documentation about return code list.
740
741 * [:doc:`/reference/executables/groonga`] Added ``--default-request-timeout`` option.
742
743 * [windows] Supported DLL version.
744
745 * Supported index used search even if value only term exists.
746 For example, ``true || column > 0`` doesn't use index even if ``column`` has
747 index. In this release, above issue is resolved.
748
749 * [:doc:`/reference/commands/select`] Supported specifying grouped table
750 [GitHub#524,#526,#527,#528,#529] [Patch by Naoya Murakami]
751
752 * Supported grouping by ``Int{8,16,64}/UInt{8,16,64}`` value.
753 In the previous versions, only 32bit fixed size value was supported.
754
755 * Added table name to error message for invalid sort key.
756
757 * [:doc:`/reference/executables/groonga-suggest-httpd`] Updated documentation.
758
759 * [:doc:`/reference/suggest/completion`] Fixed a typo about example.
760 [groonga-dev,04008] [Reported by Tachikawa Hiroaki]
761
762 * [:doc:`/reference/executables/grndb`] Added a workaround to keep
763 backward compatibility. use ``object_inspect`` instead of ``inspect``.
764
765 * [groonga-httpd] Updated bundled nginx version to 1.9.15.
766
767 * [centos] Supported systemd.
768
769 * [doc] Supported only HTML output. [GitHub#532] [Patch by Hiroshi Ohkubo]
770
771 * [:doc:`/reference/executables/groonga-httpd`][centos] Supported to customize
772 environment variables.
773
774 * [:doc:`/install/others`] Updated documentation about ``--with-package-platorm`` option.
775
776 * [ubuntu] Supported Ubuntu 16.04 (Xenial Xerus)
777
778 Fixes
779 ^^^^^
780
781 * Fixed a bug that tokenization of zero-length values are failed.
782 For example, if ``description`` column is indexed column, tokenizer reports an error.
783 [GitHub#508] [Reported by Naoya Murakami]::
784
785 load --table docs
786 [
787 ["_key","description"],
788 [2,""]
789 ]
790
791 * Fixed a crash bug because of invalid critical section handling. [GitHub#507]
792
793 * [:doc:`/contribution/development/release`] Fixed a typo about grntest howto.
794 [GitHub#511] [Patch by Hiroshi Ohkubo]
795
796 * [doc] Removed man support.
797
798 * Removed invalid debug log messages which make user confused.
799
800 * Fixed a bug that data is not correctly flushed because internal counter is wrongly cleared.
801 In the previous version, when size of data exceeds specific one, it was failed to create indexes.
802 [GitHub#517] [Reported by Naoya Murakami]
803
804 * Fixed a bug that a process can't use more than one caches in parallel.
805 [GitHub#515]
806
807 * Fixed a bug that internally used ``alloc_info`` structure which is used to find memory leaks is
808 not exclusively accessed. Without this fix, it may causes a crash. [GitHub#523]
809
810 * [tokenizer mecab] Fixed a memory leak on dictionary encoding mismatch error.
811 [groonga-dev,04012] [Reported by Naoya Murakami]
812
813 * Fixed a bug that combination of [:doc:`/reference/executables/groonga-suggest-httpd`] and
814 [:doc:`/reference/executables/groonga-suggest-learner`] didn't work.
815
816 * [doc] Removed needless uuid from \*.po [GitHub#531] [Patch by Hiroshi Ohkubo]
817
818 * [:doc:`/reference/functions/highlight_html`] Fixed a bug that duplicated text
819 is returned. This bug occurs when highlighted keyword occurred 1024 or more times.
820
821 * Fixed a bug that ``KEY_LARGE`` conflicts with existing flag.
822 If you use ``TABLE_HASH_KEY|KEY_LARGE`` in the previous version,
823 there is a possibility to break database. Please recreate the table.
824
825 Thanks
826 ^^^^^^
827
828 * Naoya Murakami
829 * Hiroshi Ohkubo
830 * Tachikawa Hiroaki
831
832 .. _release-6-0-1:
833
834 Release 6.0.1 - 2016-03-29
835 --------------------------
836
837 Improvements
838 ^^^^^^^^^^^^
839
840 * [mruby] Updated bundled mruby to fix a crash bug related to GC and
841 backtrace.
842
843 * Exported the following API
844
845 * grn_expr_take_obj()
846 * grn_request_canceler_cancel_all()
847 * grn_obj_remove_dependent()
848 * grn_obj_is_text_family_type()
849
850 * [hash] Supported 4GiB over total key size when ``KEY_LARGE`` flag is set
851 to a table::
852
853 table_create Users TABLE_HASH_KEY|KEY_LARGE ShortText
854
855 * [:doc:`/reference/commands/load`] Supported
856 :doc:`/reference/command/request_id` when you specify input data as
857 raw JSON instead of parameter value::
858
859 POST /d/load?table=XXX&request_id=x
860
861 load --table XXX --request_id x
862 [
863 ...
864 ]
865
866 * [:doc:`/reference/commands/shutdown`] Added ``mode`` argument to
867 shutdown immediately. Use ``shutdown --mode immediate`` in such a purpose.
868
869 * [:doc:`/install/mac_os_x`] Added a instruction to setup MeCab dictionary for Homebrew.
870
871 * [:doc:`/reference/commands/load`] Supported to stop load when cancel
872 is requested.
873
874 * [:doc:`/reference/commands/table_remove`] Supported to remove
875 dependent tables. Use ``--dependent yes`` for it.
876
877 * [:doc:`/reference/commands/logical_table_remove`] Supported to
878 remove dependent tables.
879
880 * [Windows] Supported memory debug mode on Windows.
881
882 * Supported to dump allocation information by status on memory debug mode
883
884 * [:doc:`/contribution/documentation/i18n`] Added installation step for Sphinx.
885
886 * [experimental] Supported to split chunks in static indexing.
887 Use ``GRN_INDEX_CHUNK_SPLIT_ENABLE=yes`` to enable it. [GitHub#479]
888
889 Fixes
890 ^^^^^
891
892 * [:doc:`/reference/commands/load`] Fixed a crash bug when
893 nonexistent column is specified. [GitHub#493]
894
895 * [:doc:`/reference/commands/load`] Fixed a bug that load command does
896 not return error code correctly. [GitHub#495]
897
898 * [:doc:`/reference/commands/load`] Fixed a memory leak when parsing
899 columns parameter in load command.
900
901 * [:doc:`/reference/commands/load`] Fixed a bug that only the first
902 array in ``--values`` is handled as a list of column names if ``--columns`` is not
903 specified. [GitHub#497]
904
905 * [:doc:`/reference/commands/load`] Fixed to check ``--columns`` more precisely
906 [GitHub#496]
907
908 * Fixed a insufficient critical section handling for
909 thread-safety.
910
911 * [:doc:`/reference/commands/column_create`] Fixed a crash bug when
912 failed to create a column.
913
914 * [:doc:`/reference/commands/table_remove`] Fixed a crash bug to
915 remove nonexistent table. [GitHub#504]
916
917 * Fixed a bug that offline index construction against ``WITH_POSITION`` +
918 non-text ``VECTOR`` column ignores position.
919
920 * [:doc:`/reference/executables/grndb`] Fixed a bug that cycle
921 reference causes stack over flow.
922
923 * [deb] Dropped support for Ubuntu 15.04 (Vivid Vervet)
924
925 Thanks
926 ^^^^^^
927
928 * YUKI Hiroshi
929
930 .. _release-6-0-0:
931
932 Release 6.0.0 - 2016-02-29
933 --------------------------
934
935 Improvements
936 ^^^^^^^^^^^^
937
938 * [:doc:`/reference/executables/grndb`] Supported check against table
939 specified as table domain in ``--target`` mode.
940
941 * [``grn_pat_fuzzy_search()``] Added a new API that provides fuzzy
942 search feature by patricia trie. [GitHub#460][Patch by Naoya
943 Murakami]
944
945 * [``functions/string``] Added a new plugin that provides string
946 related functions. [GitHub#459][Patch by Naoya Murakami]
947
948 * [``string_length()``] Added a new function that returns the number
949 of characters in the specified string. It's contained in
950 ``functions/string`` plugin. [GitHub#459][Patch by Naoya Murakami]
951
952 * [``grn_table_fuzzy_search()``] Added a new DB API that provides
953 fuzzy search feature. [GitHub#463][Patch by Naoya Murakami]
954
955 * [``GRN_OP_FUZZY``] Added a new operator. [GitHub#463][Patch by Naoya
956 Murakami]
957
958 * [``grn_obj_search()``] Supported ``GRN_OP_FUZZY``
959 operator. [GitHub#463][Patch by Naoya Murakami]
960
961 * [``GRN_TABLE_FUZZY_SEARCH_WITH_TRANSPOSITION``] Added a flag for
962 ``grn_table_fuzzy_search()``. [GitHub#463][Patch by Naoya Murakami]
963
964 * [``GRN_TOKENIZE_ONLY``] Added a new tokenization mode that returns
965 all tokens even if the token doesn't exist in
966 lexicon. [GitHub#463][Patch by Naoya Murakami]
967
968 * [``grn_obj_type_to_string()``] Add a new function that stringify
969 type ID such as ``GRN_VOID`` and ``GRN_BULK``.
970
971 * [:doc:`/reference/commands/object_inspect`] Added a new command that
972 returns information of the target object.
973
974 * Supported compare operations against vector. If left hand side
975 vector includes any element that satisfies ``left_hand_side_element
976 OP right_hand_side``, it returns true.
977
978 Example::
979
980 [1, 2, 3] < 2 # -> true because 1 is less than 2
981 [1, 2, 3] > 4 # -> false because all elements are less than 4
982
983 * [``fuzzy_search()``] Added a new function that provides fuzzy search
984 feature. [GitHub#464][Patch by Naoya Murakami]
985
986 * [:doc:`/reference/functions/edit_distance`] Supported transposition
987 flag. [GitHub#464][Patch by Naoya Murakami]
988
989 * Supported index search for ``vector_column[2] == 29``.
990
991 * [``GRN_PLUGIN_CALLOC()``] Added a new API for plugin that provides
992 ``calloc()`` feature. [GitHub#472][Patch by Naoya Murakami]
993
994 * Supported index search for compare operations against vector element
995 such as ``vector_column[2] < 29``.
996
997 * [``grn_plugin_proc_get_var_bool()``] Add a new API for plugin that
998 provides getting boolean argument value feature.
999
1000 * [``grn_plugin_proc_get_var_int32()``] Add a new API for plugin that
1001 provides getting 32bit integer argument value feature.
1002
1003 * [``grn_plugin_proc_get_var_string()``] Add a new API for plugin that
1004 provides getting string argument value feature.
1005
1006 * [:doc:`/reference/commands/object_remove`] Added a new command that
1007 removes an object. ``object_remove`` can also remove a broken object.
1008
1009 * Supported mips/mipsel. [debian-bugs:770243][Reported by Nobuhiro
1010 Iwamatsu][Reported by Thorsten Glaser][Reported by YunQiang
1011 Su][Reported by Dejan Latinovic][Reported by Steve Langasek]
1012
1013 * [:doc:`/reference/executables/grndb`][CMake] Supported.
1014
1015 * [``grn_expr_syntax_expand_query()``] Added a new API that provides
1016 query expansion feature.
1017
1018 * [``snippet()``] Add a new function that provides snippet feature.
1019 [GitHub#481][Patch by Naoya Murakami]
1020
1021 * [``highlight()``] Add a new function that provides highlight feature.
1022 [GitHub#487][Patch by Naoya Murakami]
1023
1024 * Added ``XXX && column != xxx`` optimization. It's converted to ``XXX
1025 &! column == xxx`` internally.
1026
1027 * [:doc:`/server/memcached`] Added ``--memcached-column``. You can
1028 access existing column by memcached protocol.
1029
1030 * [:doc:`/reference/executables/groonga-httpd`] Supported TLS.
1031 [groonga-dev,03948][Reported by KITAITI Makoto]
1032
1033 * [:doc:`/reference/executables/groonga-httpd`] Updated bundled nginx
1034 version to 1.9.11 from 1.9.10.
1035
1036 * [Windows][CMake] Supported LZ4. LZ4 is bundled.
1037
1038 Fixes
1039 ^^^^^
1040
1041 * [:doc:`/reference/commands/select`] Added a missing error check for
1042 outputting column. [GitHub#332][Reported by Masafumi Yokoyama]
1043
1044 * Fixed a bug that ``function(column_with_index) == 29`` ignores
1045 ``function()``. [groonga-dev,03884][Reported by Naoya Murakami]
1046
1047 * [:doc:`/reference/commands/reindex`] Fixed a bug that ``reindex``
1048 doesn't clear query cache.
1049
1050 * [patricia trie] Fixed a bug that sorting by integer patricia trie
1051 key returns unsorted result. [GitHub#476][Reported by Ryunosuke SATO]
1052
1053 * [:doc:`/reference/commands/select`] Fixed a crash bug that is
1054 occurred when too many keywords is specified into ``--query``.
1055 [GitHub#484][Reported by Hiroyuki Sato]
1056
1057 * [:doc:`/reference/commands/select`] Fixed a bug that wrong cache is
1058 used when :doc:`/reference/command/command_version` or
1059 :doc:`/reference/command/pretty_print` is
1060 used. [GitHub#490][Reported by KITAITI Makoto]
1061
1062 Thanks
1063 ^^^^^^
1064
1065 * Masafumi Yokoyama
1066
1067 * Naoya Murakami
1068
1069 * Nobuhiro Iwamatsu
1070
1071 * Thorsten Glaser
1072
1073 * YunQiang Su
1074
1075 * Dejan Latinovic
1076
1077 * Steve Langasek
1078
1079 * Ryunosuke SATO
1080
1081 * Hiroyuki Sato
1082
1083 * KITAITI Makoto