Debian Codegraph @

doc/source/news/7.rst

raw
1 News - 7 series
2 ===============
3
4 .. _release-7-1-1:
5
6 Release 7.1.1 - 2018-01-29
7 --------------------------
8
9 Improvements
10 ^^^^^^^^^^^^
11
12 * [:doc:`/install/ubuntu`] Dropped Ubuntu 17.04 (Zesty Zapus) support.
13 It has reached EOL at Jan 13, 2018.
14
15 * Added quorum match support.
16 You can use quorum match in both script syntax and query syntax.
17 [groonga-talk,385][Suggested by 付超群]
18
19 TODO: Add documents for quorum match syntax and link to them.
20
21 * Added custom similarity threshold support in script syntax.
22 You can use custom similarity threshold in script syntax.
23
24 TODO: Add document for the syntax and link to it.
25
26 * [:doc:`/reference/executables/grndb`][:ref:`grndb-force-lock-clear`]
27 Added ``--force-lock-clear`` option. With this option, ``grndb``
28 forces to clear locks of database, tables and data columns. You can
29 use your database again even if locks are remained in database,
30 tables and data columns.
31
32 But this option very risky. Normally, you should not use it. If your
33 database is broken, your database is still broken. This option just
34 ignores locks.
35
36 * [:doc:`/reference/commands/load`] Added surrogate pairs support in
37 escape syntax. For example, ``\uD83C\uDF7A`` is processed as ``🍺``.
38
39 * [Windows] Changed to use sparse file on Windows. It reduces disk
40 space and there are no performance demerit.
41
42 * [:ref:`online-index-construction`] Added
43 ``GRN_II_REDUCE_EXPIRE_THRESHOLD`` environment variable to control
44 when memory maps are expired in index column. It's ``-1`` by
45 default. It means that expire timing is depends on index column
46 size. If index column is smaller, expire timing is more. If index
47 column is larger, expire timing is less.
48
49 You can use the previous behavior by ``0``. It means that Groonga
50 always tries to expire.
51
52 * [:doc:`/reference/commands/logical_range_filter`]
53 [:ref:`logical-range-filter-post-filter`] Added a new filter timing.
54 It's executed after ``filtered`` stage generated columns are generated.
55
56 Fixes
57 ^^^^^
58
59 * Reduced resource usage for creating index for reference vector.
60 [GitHub#806][Reported by Naoya Murakami]
61
62 * [:doc:`/reference/commands/table_create`] Fixed a bug that a table
63 is created even when ``token_filters`` is invalid.
64 [GitHub#266]
65
66 Thanks
67 ^^^^^^
68
69 * 付超群
70
71 * Naoya Murakami
72
73 .. _release-7-1-0:
74
75 Release 7.1.0 - 2017-12-29
76 --------------------------
77
78 Improvements
79 ^^^^^^^^^^^^
80
81 * [:doc:`/reference/commands/load`] Improved the ``load``'s
82 query-log format.
83 Added detail below items in the ``load``'s query-log.
84
85 * outputs number of loaded records.
86 * outputs number of error records and columns.
87 * outputs number of total records.
88
89 * [:doc:`/reference/commands/logical_count`] Improved the
90 ``logical_count``'s query-log format.
91 Added detail below items in the ``logical_count``'s query-log.
92
93 * outputs number of count.
94
95 * [:doc:`/reference/commands/logical_select`] Improve the
96 ``logical_select``'s query-log format.
97 Added detail below items in the ``logical_select``'s query-log.
98
99 * log N outputs.
100 * outputs plain drilldown.
101 * outputs labeled drilldown.
102 * outputs selected in each shard.
103 * use "[...]" for target information.
104
105 * [:doc:`/reference/commands/delete`] Improved the ``delete``'s
106 query-log format.
107 Added detail below items in the ``delete``'s query-log.
108
109 * outputs number of deleted and error records.
110 * outputs number of rest number of records.
111
112 * [:doc:`/reference/executables/groonga-server-http`] The server
113 executed by ``groonga -s`` ensure stopping by C-c.
114
115 * Used ``NaN`` and ``Infinity``, ``-Infinity`` instead of Lisp
116 representations(``#<nan>`` and ``#i1/0``, ``#-i1/0``).
117
118 * Supported vector for drilldown calc target.
119
120 * Partially supported keyword extraction from regexp search.
121 It enables ``highlight_html`` and ``snippet_html`` for regexp search.
122 [GitHub#787][Reported by takagi01]
123
124 * [bulk] Reduced the number of ``realloc()``.
125 ``grn_bulk_*()`` API supports it.
126
127 It improves performance for large output case on Windows.
128 For example, it causes 100x faster for 100MB over output.
129
130 Because ``realloc()`` is heavy on Windows.
131
132 * Enabled ``GRN_II_OVERLAP_TOKEN_SKIP_ENABLE`` only when its value is "yes".
133
134 * Deprecated ``GRN_NGRAM_TOKENIZER_REMOVE_BLANK_DISABLE``.
135 Use ``GRN_NGRAM_TOKENIZER_REMOVE_BLANK_ENABLE=no`` instead.
136
137 * Added new function ``index_column_source_records``.
138 It gets source records of index column.[Patch by Naoya Murakami]
139
140 * [:doc:`/reference/commands/select`] Supported negative "offset" for "offset + size - limit" >= 0
141
142 * Added ``grn_column_cache``.
143 It'll improve performance for getter of fixed size column value.
144
145 * [:doc:`/reference/executables/groonga`] Added ``--listen-backlog option``.
146 You can customize ``listen(2)``'s backlog by this option.
147
148 * [httpd] Updated bundled nginx to 1.13.8.
149
150 Fixes
151 ^^^^^
152
153 * Fixed a memory leak in ``highlight_full``
154
155 * Fixed a crash bug by early unlink
156 It's not caused by instruction in ``grn_expr_parse()`` but it's caused when
157 libgroonga user such as Mroonga uses the following instructions:
158
159 1. ``grn_expr_append_const("_id")``
160 2. ``grn_expr_append_op(GRN_OP_GET_VALUE)``
161
162 Thanks
163 ^^^^^^
164
165 * takagi01
166 * Naoya Murakami
167
168 .. _release-7-0-9:
169
170 Release 7.0.9 - 2017-11-29
171 --------------------------
172
173 Improvements
174 ^^^^^^^^^^^^
175
176 * Supported newer version of Apache Arrow. In this release, 0.8.0 or
177 later is required for Apache Arrow support.
178
179 * [sharding] Added new API for dynamic columns.
180
181 * Groonga::LabeledArguments
182
183 * [sharding] Added convenient ``Table#select_all`` method.
184
185 * [:doc:`/reference/commands/logical_range_filter`] Supported dynamic
186 columns. Note that ``initial`` and ``filtered`` stage are only
187 supported.
188
189 * [:doc:`/reference/commands/logical_range_filter`] Added documentation
190 about ``cache`` parameter and dynamic columns.
191
192 * [:doc:`/reference/commands/logical_count`] Supported dynamic
193 columns. Note that ``initial`` stage is only supported.
194
195 * [:doc:`/reference/commands/logical_count`] Added documentation about
196 named parameters.
197
198 * [:doc:`/reference/commands/select`] Supported ``--match_columns _key``
199 without index.
200
201 * [:doc:`/reference/functions/in_values`] Supported to specify more
202 than 126 values. [GitHub#760] [GitHub#781] [groonga-dev,04449]
203 [Reported by Murata Satoshi]
204
205 * [httpd] Updated bundled nginx to 1.13.7.
206
207 Fixes
208 ^^^^^
209
210 * [httpd] Fixed build error when old Groonga is already installed.
211 [GitHub#775] [Reported by myamanishi3]
212
213 * [:doc:`/reference/functions/in_values`] Fixed a bug that
214 ``in_values`` with too many arguments can cause a crash. This bug is
215 found during supporting more than 126 values. [GitHub#780]
216
217 * [cmake] Fixed LZ4 and MessagePack detection. [Reported by Sergei
218 Golubchik]
219
220 * [:ref:`offline-index-construction`] Fixed a bug that offline index
221 construction for vector column consumes unnecessary resources. If
222 you have a log of elements in one vector column and many records,
223 Groonga will crash.
224 [groonga-dev,04533][Reported by Toshio Uchiyama]
225
226 Thanks
227 ^^^^^^
228
229 * Murata Satoshi
230 * myamanishi3
231 * Sergei Golubchik
232 * Toshio Uchiyama
233
234 .. _release-7-0-8:
235
236 Release 7.0.8 - 2017-10-29
237 --------------------------
238
239 Improvements
240 ^^^^^^^^^^^^
241
242 * [windows] Supported backtrace on crash.
243 This feature not only function call history but also source filename
244 and number of lines can be displayed as much as possible.
245 This feature makes problem solving easier.
246
247 * Supported ``( )`` (empty block) only query (``--query "( )"``) for
248 ``QUERY_NO_SYNTAX_ERROR``. In the previous version, it caused an
249 error. [GitHub#767]
250
251 * Supported ``(+)`` (only and block) only query (``--query "(+)"``)
252 for ``QUERY_NO_SYNTAX_ERROR``. In the previous version, it caused an
253 error. [GitHub#767]
254
255 * Supported ``~foo`` (starting with "~") query (``--query "~y"``) for
256 ``QUERY_NO_SYNTAX_ERROR``. In the previous version, it caused an
257 error. [GitHub#767]
258
259 * Modified log level of ``expired`` from ``info`` to ``debug``.
260 ``2017-10-29 14:05:34.123456|i| <0000000012345678:0> expired
261 i=000000000B123456 max=10 (2/2)`` This message is logged when memory
262 mapped area for index is unmapped. Thus, this log message is useful
263 information for debugging, in other words, as it is unnecessary
264 information in normal operation, we changed log level from ``info``
265 to ``debug``.
266
267 * Supported Ubuntu 17.10 (Artful Aardvark)
268
269 Fixes
270 ^^^^^
271
272 * [dat] Fixed a bug that large file is created unexpectedly in the
273 worst case during database expansion process. This bug may occurs
274 when you create/delete index columns so frequently. In 7.0.7
275 release, a related bug was fixed - "``table_create`` command fails
276 when there are many deleted keys", but it turns out that it is not
277 enough in the worst case.
278
279 * [:doc:`/reference/commands/logical_select`] Fixed a bug that when
280 ``offset`` and ``limit`` were applied to multiple shards at the same
281 time, there is a case that it returns a fewer number of records
282 unexpectedly.
283
284 .. _release-7-0-7:
285
286 Release 7.0.7 - 2017-09-29
287 --------------------------
288
289 Improvements
290 ^^^^^^^^^^^^
291
292 * Supported ``+`` only query (``--query "+"``) for
293 ``QUERY_NO_SYNTAX_ERROR``. In the previous version, it caused an
294 error.
295
296 * [httpd] Updated bundled nginx to 1.13.5.
297
298 * [:doc:`/reference/commands/dump`] Added the default argument values
299 to the syntax section.
300
301 * [:doc:`/reference/command/command_version`] Supported ``--default-command-version 3``.
302
303 * Supported caching select result with function call. Now, most of
304 existing functions supports this feature. There are two exception,
305 when ``now()`` and ``rand()`` are used in query, select result will
306 not cached. Because of this default behavior change, new APIs are
307 introduced.
308
309 * ``grn_proc_set_is_stable()``
310 * ``grn_proc_is_stable()``
311
312 Note that if you add a new function that may return different result
313 with the same argument, you must call ``grn_proc_is_stable(ctx,
314 proc, GRN_FALSE)``. If you don't call it, select result with the
315 function call is cached and is wrong result for multiple requests.
316
317 Fixes
318 ^^^^^
319
320 * [windows] Fixed to clean up file handle correctly on failure when
321 ``database_unmap`` is executed. There is a case that critical
322 section is not initialized when request is canceled before executing
323 ``database_unmap``. In such a case, it caused a crash bug.
324
325 * [:doc:`/reference/tokenizers`] Fixed document for wrong tokenizer
326 names. It should be ``TokenBigramIgnoreBlankSplitSymbolAlpha`` and
327 ``TokenBigramIgnoreBlankSplitSymbolAlphaDigit``.
328
329 * Changed not to keep created empty file on error.
330
331 In the previous versions, there is a case that empty file keeps
332 remain on error.
333
334 Here is the scenario to reproduce:
335
336 1. creating new file by grn_fileinfo_open succeeds
337 2. mapping file by DO_MAP() is failed
338
339 In such a case, it causes an another error such as
340 "already file exists" because of the file which
341 isn't under control. so these file should be removed during
342 cleanup process.
343
344 * Fixed a bug that Groonga may be crashed when search process is
345 executed during executing many updates in a short time.
346
347 * [:doc:`/reference/commands/table_create`] Fixed a bug that
348 ``table_create`` failed when there are many deleted keys.
349
350 .. _release-7-0-6:
351
352 Release 7.0.6 - 2017-08-29
353 --------------------------
354
355 Improvements
356 ^^^^^^^^^^^^
357
358 * Supported prefix match search using multiple
359 indexes. (e.g. ``--query "Foo*" --match_columns
360 "TITLE_INDEX_COLUMN||BODY_INDEX_COLUMN"``).
361
362 * [:doc:`/reference/window_functions/window_count`] Supported
363 ``window_count`` function to add count data to result set. It is
364 useful to analyze or filter additionally.
365
366 * Added the following API
367
368 * ``grn_obj_get_disk_usage():``
369 * ``GRN_EXPR_QUERY_NO_SYNTAX_ERROR``
370 * ``grn_expr_syntax_expand_query_by_table()``
371 * ``grn_table_find_reference_object()``
372
373 * [:doc:`/reference/commands/object_inspect`] Supported to show disk
374 usage about specified object.
375
376 * Supported falling back query parse feature. It is enabled when
377 ``QUERY_NO_SYNTAX_ERROR`` flag is set to ``query_flags``. (this
378 feature is disabled by default). If this flag is set, query never
379 causes syntax error. For example, "A +" is parsed and escaped
380 automatically into "A \+". This behavior is useful when application
381 uses user input directly and doesn't want to show syntax error to
382 user and in log.
383
384 * Supported to adjust score for term in query. ">", "<", and "~"
385 operators are supported. For example, ">Groonga" increments score of
386 "Groonga", "<Groonga" decrements score of "Groonga". "~Groonga"
387 decreases score of matched document in the current search
388 result. "~" operator doesn't change search result itself.
389
390 * Improved performance to remove table. ``thread_limit=1`` is not
391 needed for it. The process about checking referenced table existence
392 is done without opening objects. As a result, performance is
393 improved.
394
395 * [httpd] Updated bundled nginx to 1.13.4.
396
397 Fixes
398 ^^^^^
399
400 * [:doc:`/reference/commands/dump`] Fixed a bug that the 7-th unnamed
401 parameter for `--sort_hash_table` option is ignored.
402
403 * [:doc:`/reference/commands/schema`] Fixed a typo in command line
404 parameter name. It should be `source` instead of `sources`.
405 [groonga-dev,04449] [Reported by murata satoshi]
406
407 * [:doc:`/reference/commands/ruby_eval`] Fixed crash when ruby_eval
408 returned syntax error. [GitHub#751] [Patch by ryo-pinus]
409
410 Thanks
411 ^^^^^^
412
413 * murata satoshi
414
415 * ryo-pinus
416
417 .. _release-7-0-5:
418
419 Release 7.0.5 - 2017-07-29
420 --------------------------
421
422 Improvements
423 ^^^^^^^^^^^^
424
425 * [httpd] Updated bundled nginx to 1.13.3. Note that this version
426 contains security fix for CVE-2017-7529.
427
428 * [:doc:`/reference/commands/load`] Supported to load the value of max
429 UInt64. In the previous versions, max UInt64 value is converted into
430 0 unexpectedlly.
431
432 * Added the following API
433
434 * ``grn_window_get_size()`` [GitHub#725] [Patch by Naoya Murakami]
435
436 * [:doc:`/reference/functions/math_abs`] Supported ``math_abs()``
437 function to calculate absolute value. [GitHub#721]
438
439 * Supported to make ``grn_default_logger_set_path()`` and
440 ``grn_default_query_logger_set_path()`` thread safe.
441
442 * [windows] Updated bundled pcre library to 8.41.
443
444 * [:doc:`/reference/commands/normalize`] Improved not to output
445 redundant empty string ``""`` on error. [GitHub#730]
446
447 * [functions/time] Supported to show error message when division by
448 zero was happened. [GitHub#733] [Patch by Naoya Murakami]
449
450 * [windows] Changed to map ``ERROR_NO_SYSTEM_RESOURCES`` to
451 ``GRN_RESOURCE_TEMPORARILY_UNAVAILABLE``. In the previous versions,
452 it returns ``rc=-1`` as a result code. It is not helpful to
453 investigate what actually happened. With this fix, it returns
454 ``rc=-12``.
455
456 * [functions/min][functions/max] Supported vector column. Now you need
457 not to care scalar column or vector column to use. [GitHub#735]
458 [Patch by Naoya Murakami]
459
460 * [:doc:`/reference/commands/dump`] Supported ``--sort_hash_table``
461 option to sort by ``_key`` for hash table. Specify
462 ``--sort_hash_table yes`` to use it.
463
464 * [:doc:`/reference/functions/between`] Supported to specify index
465 column. [GitHub#740] [Patch by Naoya Murakami]
466
467 * [load] Supported Apache Arrow 0.5.0 or later.
468
469 * [:doc:`/troubleshooting/how_to_analyze_error_message`]
470 Added howto article to analyze error message in Groonga.
471
472 * [:doc:`/install/debian`] Updated required package list to
473 build from source.
474
475 * [:doc:`/install/ubuntu`] Dropped Ubuntu 16.10 (Yakkety
476 Yak) support. It has reached EOL at July 20, 2017.
477
478 Fixes
479 ^^^^^
480
481 * Fixed to construct correct fulltext indexes against vector column
482 which type belongs to text family (```ShortText`` and so on). This
483 fix resolves that fulltext search doesn't work well against text
484 vector column after updating indexes. [GitHub#494]
485
486 * [:doc:`/reference/commands/thread_limit`] Fixed a bug that deadlock
487 occurs when thread_limit?max=1 is requested at once.
488
489 * [:doc:`/reference/executables/groonga-httpd`] Fixed a mismatch path
490 of pid file between default one and restart command assumed. This
491 mismatch blocked restarting groonga-httpd. [GitHub#743] [Reported by
492 sozaki]
493
494 Thanks
495 ^^^^^^
496
497 * Naoya Murakami
498
499 .. _release-7-0-4:
500
501 Release 7.0.4 - 2017-06-29
502 --------------------------
503
504 Improvements
505 ^^^^^^^^^^^^
506
507 * Added physical create/delete operation logs to identify problem for
508 troubleshooting. [GitHub#700,#701]
509
510 * [:doc:`/reference/functions/in_records`] Improved performance for
511 fixed sized column. It may reduce 50% execution time.
512
513 * [:doc:`/reference/executables/grndb`] Added ``--log-path`` option.
514 [GitHub#702,#703]
515
516 * [:doc:`/reference/executables/grndb`] Added ``--log-level`` option.
517 [GitHub#706,#708]
518
519 * Added the following API
520
521 * ``grn_operator_to_exec_func()``
522 * ``grn_obj_is_corrupt()``
523
524 * Improved performance for "FIXED_SIZE_COLUMN OP CONSTANT". Supported
525 operators are: ``==``, ``!=``, ``<``, ``>``, ``<=`` and ``>=``.
526
527 * Improved performance for "COLUMN OP VALUE && COLUMN OP VALUE && ...".
528
529 * [:doc:`/reference/executables/grndb`] Supported corrupted object
530 detection with ``grndb check``.
531
532 * [:doc:`/reference/commands/io_flush`] Supported ``--only_opened``
533 option which enables to flush only opened database objects.
534
535 * [:doc:`/reference/executables/grndb`] Supported to detect/delete
536 orphan "inspect" object. The orphaned "inspect" object is created by
537 renamed command name from ``inspect`` to ``object_inspect``.
538
539 Fixes
540 ^^^^^
541
542 * [rpm][centos] Fixed unexpected macro expansion problem with
543 customized build. This bug only affects when rebuilding Groonga SRPM
544 with customized ``additional_configure_options`` parameter in spec
545 file.
546
547 * Fixed missing null check for ``grn_table_setoperation()``. There is a
548 possibility of crash bug when indexes are broken. [GitHub#699]
549
550 Thanks
551 ^^^^^^
552
553 .. _release-7-0-3:
554
555 Release 7.0.3 - 2017-05-29
556 --------------------------
557
558 Improvements
559 ^^^^^^^^^^^^
560
561 * [:doc:`/reference/commands/select`] Add document about
562 :ref:`full-text-search-with-specific-index-name`.
563
564 * [index] Supported to log warning message which record causes posting
565 list overflows.
566
567 * [:doc:`/reference/commands/load`][:doc:`/reference/commands/dump`]
568 Supported Apache Arrow. [GitHub#691]
569
570 * [cmake] Supported linking lz4 in embedded static library build.
571 [Original patch by Sergei Golubchik]
572
573 * [:doc:`/reference/commands/delete`] Supported to cancel.
574
575 * [httpd] Updated bundled nginx to 1.13.0
576
577 * Exported the following API
578
579 * grn_plugin_proc_get_caller()
580
581 * Added index column related function and selector.
582
583 * Added new selector: index_column_df_ratio_between()
584
585 * Added new function: index_column_df_ratio()
586
587 Fixes
588 ^^^^^
589
590 * [:doc:`/reference/commands/delete`] Fixed a bug that error isn't
591 cleared correctly. It affects to following deletions so that it
592 causes unexpected behavior.
593
594 * [windows] Fixed a bug that IO version is not detected correctly when the
595 file is opened with ``O_CREAT`` flag.
596
597 * [:doc:`/reference/functions/vector_slice`] Fixed a bug that non 4
598 bytes vector columns can't slice. [GitHub#695] [Patch by Naoya
599 Murakami]
600
601 * Fixed a bug that non 4 bytes fixed vector column can't sequential
602 match by specifying index of vector. [GitHub#696] [Patch by Naoya
603 Murakami]
604
605 * [:doc:`/reference/commands/logical_select`] Fixed a bug that
606 "argument out of range" occurs when setting last day of month to the
607 min. [GitHub#698]
608
609 Thanks
610 ^^^^^^
611
612 * Sergei Golubchik
613
614 * Naoya Murakami
615
616 .. _release-7-0-2:
617
618 Release 7.0.2 - 2017-04-29
619 --------------------------
620
621 Improvements
622 ^^^^^^^^^^^^
623
624 * [:doc:`/reference/commands/logical_select`] Supported multiple
625 :ref:`logical-select-drilldowns-label-columns-name-window-sort-keys`
626 and
627 :ref:`logical-select-drilldowns-label-columns-name-window-group-keys`.
628
629 * [windows] Updated bundled LZ4 to 1.7.5.
630
631 * [cache] Supported persistent cache feature.
632
633 * [:doc:`/reference/commands/log_level`] Update English documentation.
634
635 * Added the following APIs:
636
637 * ``grn_set_default_cache_base_path()``
638 * ``grn_get_default_cache_base_path()``
639 * ``grn_persistent_cache_open()``
640 * ``grn_cache_default_open()``
641
642 * [:option:`groonga --cache-base-path`] Added a new option to use
643 persistent cache.
644
645 * [:doc:`/reference/executables/groonga-httpd`]
646 [:ref:`groonga-httpd-groonga-cache-base-path`] Added new
647 configuration to use persistent cache.
648
649 * [windows] Updated bundled msgpack to 2.1.1.
650
651 * [:doc:`/reference/commands/object_inspect`] Supported not only
652 column inspection, but also index column statistics.
653
654 * Supported index search for "``.*``" regexp pattern. This feature is
655 enabled by default. Set
656 ``GRN_SCAN_INFO_REGEXP_DOT_ASTERISK_ENABLE=no`` environment variable
657 to disable this feature.
658
659 * [:doc:`/reference/functions/in_records`] Added function to use an
660 existing table as condition patterns.
661
662 * [:doc:`/install/ubuntu`] Dropped Ubuntu 12.04 (Precise Pangolin)
663 support because of EOL.
664
665 Fixes
666 ^^^^^
667
668 * [:doc:`/reference/commands/logical_select`] Fixed a bug that wrong
669 cache is used. This bug was occurred when dynamic column parameter
670 is used.
671
672 * [:doc:`/reference/commands/logical_select`] Fixed a bug that dynamic
673 columns aren't created. It's occurred when no match case.
674
675 * [:doc:`/reference/commands/reindex`] Fixed a bug that data is lost
676 by reindex. [GitHub#646]
677
678 * [httpd] Fixed a bug that response of :doc:`/reference/commands/quit`
679 and :doc:`/reference/commands/shutdown` is broken JSON when worker is
680 running as another user. [GitHub ranguba/groonga-client#12]
681
682 .. _release-7-0-1:
683
684 Release 7.0.1 - 2017-03-29
685 --------------------------
686
687 Improvements
688 ^^^^^^^^^^^^
689
690 * Exported the following API
691
692 * grn_ii_cursor_next_pos()
693 * grn_table_apply_expr()
694 * grn_obj_is_data_column()
695 * grn_obj_is_expr()
696 * grn_obj_is_scalar_column()
697
698 * [:doc:`/reference/commands/dump`] Supported to dump weight reference
699 vector.
700
701 * [:doc:`/reference/commands/load`] Supported to load
702 ``array<object>`` style weight vector column. The example of
703 ``array<object>`` style is: ``[{"key1": weight1}, {"key2":
704 weight2}]``.
705
706 * Supported to search ``!(XXX OPERATOR VALUE)`` by index. Supported
707 operator is not only ``>`` but also ``>=``, ``<``, ``<=``, ``==``
708 and ``!=``.
709
710 * Supported index search for "!(column == CONSTANT)". The example in
711 this case is: ``!(column == 29)`` and so on.
712
713 * Supported more "!" optimization in the following patterns.
714
715 * ``!(column @ "X") && (column @ "Y")``
716 * ``(column @ "Y") && !(column @ "X")``
717 * ``(column @ "Y") &! !(column @ "X")``
718
719 * Supported to search ``XXX || !(column @ "xxx")`` by index.
720
721 * [:doc:`/reference/commands/dump`] Changed to use ``'{"x": 1, "y":
722 2}'`` style for not referenced weight vector. This change doesn't
723 affect to old Groonga because it already supports one.
724
725 * [experimental] Supported ``GRN_ORDER_BY_ESTIMATED_SIZE_ENABLE``
726 environment variable. This variable controls whether query
727 optimization which is based on estimated size is applied or not.
728 This feature is disabled by default. Set
729 ``GRN_ORDER_BY_ESTIMATED_SIZE_ENABLE=yes`` if you want to try it.
730
731 * [:doc:`/reference/commands/select`] Added query log for ``columns``,
732 ``drilldown`` evaluation.
733
734 * [:doc:`/reference/commands/select`] Changed query log format for
735 ``drilldown``. This is backward incompatible change, but it only
736 affects users who convert query log by own programs.
737
738 * [:doc:`/reference/commands/table_remove`] Reduced temporary memory
739 usage. It's enabled when the number of max threads is 0.
740
741 * [:doc:`/reference/commands/select`] ``columns[LABEL](N)`` is used
742 for query log format instead of ``columns(N)[LABEL]``..
743
744 * [:doc:`/tutorial/query_expansion`] Updated example to use vector
745 column because it is recommended way. [Reported by Gurunavi, Inc]
746
747 * Supported to detect canceled request while locking. It fixes the
748 problem that ``request_cancel`` is ignored unexpectedly while locking.
749
750 * [:doc:`/reference/commands/logical_select`] Supported ``initial``
751 and ``filtered`` stage dynamic columns. The examples are:
752 ``--columns[LABEL].stage initial`` or ``--columns[LABEL].stage
753 filtered``.
754
755 * [:doc:`/reference/commands/logical_select`] Supported
756 ``match_columns``, ``query`` and ``drilldown_filter`` option.
757
758 * [:doc:`/reference/functions/highlight_html`] Supported similar
759 search.
760
761 * [:doc:`/reference/commands/logical_select`] Supported ``initial``
762 and stage dynamic columns in labeled drilldown. The example is:
763 ``--drilldowns[LABEL].stage initial``.
764
765 * [:doc:`/reference/commands/logical_select`] Supported window
766 function in dynamic column.
767
768 * [:doc:`/reference/commands/select`] Added documentation about
769 dynamic columns.
770
771 * [:doc:`/reference/window_function`] Added section about window
772 functions.
773
774 * [:doc:`/install/centos`] Dropped CentOS 5 support because of EOL.
775
776 * [httpd] Updated bundled nginx to 1.11.12
777
778 * Supported to disable AND match optimization by environment variable.
779 You can disable this feature by
780 ``GRN_TABLE_SELECT_AND_MIN_SKIP_ENABLE=no``. This feature is enable
781 by default.
782
783 * [:doc:`/reference/functions/vector_new`] Added a new function to
784 create a new vector.
785
786 * [:doc:`/reference/commands/select`] Added documentation about
787 ``drilldown_filter``.
788
789 Fixes
790 ^^^^^
791
792 * [:doc:`/reference/commands/lock_clear`] Fixed a crash bug against
793 temporary database.
794
795 * Fixed a problem that dynamically updated index size was increased
796 for natural language since Groonga 6.1.4.
797
798 * [:doc:`/reference/commands/select`] Fixed a bug that "A && B.C @ X"
799 may not return records that should be matched.
800
801 * Fixed a conflict with ``grn_io_flush()`` and
802 ``grn_io_expire()``. Without this change, if ``io_flush`` and ``load``
803 command are executed simultaneously in specific timing, it causes a
804 crash bug by access violation.
805
806 * [:doc:`/reference/commands/logical_table_remove`] Fixed a crash bug
807 when the max number of threads is 1.
808
809 Thanks
810 ^^^^^^
811
812 * Gurunavi, Inc.
813
814 .. _release-7-0-0:
815
816 Release 7.0.0 - 2017-02-09
817 --------------------------
818
819 Improvements
820 ^^^^^^^^^^^^
821
822 * [:doc:`/reference/functions/in_values`] Supported sequential search
823 for reference vector column. [Patch by Naoya Murakami] [GitHub#629]
824
825 * [:doc:`/reference/commands/select`] Changed to report error instead
826 of ignoring on invalid ``drilldown[LABEL].sort_keys``.
827
828 * [:doc:`/reference/commands/select`] Removed needless metadata
829 updates on DB. It reduces the case that database lock remains
830 even though ``select`` command is executed. [Reported by aomi-n]
831
832 * [:doc:`/reference/commands/lock_clear`] Changed to clear metadata lock
833 by lock_clear against DB.
834
835 * [:doc:`/install/centos`] Enabled EPEL by default to install Groonga
836 on Amazon Linux.
837
838 * [:doc:`/reference/functions/query`] Supported "@X" style in script
839 syntax for prefix("@^"), suffix("@$"), regexp("@^") search.
840
841 * [:doc:`/reference/functions/query`] Added documentation about
842 available list of mode. The default mode is ``MATCH`` ("@") mode
843 which executes full text search.
844
845 * [rpm][centos] Supported groonga-token-filter-stem package which
846 provides stemming feature by ``TokenFilterStem`` token filter on
847 CentOS 7. [GitHub#633] [Reported by Tim Bellefleur]
848
849 * [:doc:`/reference/window_functions/window_record_number`] Marked
850 ``record_number`` as deprecated. Use ``window_record_number``
851 instead. ``record_number`` is still available for backward
852 compatibility.
853
854 * [:doc:`/reference/window_functions/window_sum`] Added ``window_sum``
855 window function. It's similar behavior to window function sum() on
856 PostgreSQL.
857
858 * Supported to construct offline indexing with in-memory (temporary)
859 ``TABLE_DAT_KEY`` table. [GitHub#623] [Reported by Naoya Murakami]
860
861 * [onigmo] Updated bundled Onigmo to 6.1.1.
862
863 * Supported ``columns[LABEL].window.group_keys``. It's used to apply
864 window function for every group.
865
866 * [:doc:`/reference/commands/load`] Supported to report error on
867 invalid key. It enables you to detect mismatch type of key.
868
869 * [:doc:`/reference/commands/load`] Supported ``--output_errors yes``
870 option. If you specify "yes", you can get errors for each load
871 failed record. Note that this feature requires command version 3.
872
873 * [:doc:`/reference/commands/load`] Improve error message on table key
874 cast failure. Instead of "cast failed", type of table key and target
875 type of table key are also contained in error message.
876
877 * [httpd] Updated bundled nginx to 1.11.9.
878
879 Fixes
880 ^^^^^
881
882 * Fixed a bug that nonexistent sort keys for ``drilldowns[LABEL]`` or
883 ``slices[LABEL]`` causes invalid JSON parse error. [Patch by Naoya
884 Murakami] [GitHub#627]
885
886 * Fixed a bug that access to nonexistent sub records for group causes
887 a crash. For example, This bug affects the case when you use
888 ``drilldowns[LABEL].sort_keys _sum`` without specifying
889 ``calc_types``. [Patch by Naoya Murakami] [GitHub#625]
890
891 * Fixed a crash bug when tokenizer has an error. It's caused when
892 tokenizer and token filter are registered and tokenizer has an
893 error.
894
895 * [:doc:`/reference/window_functions/window_record_number`] Fixed a
896 bug that arguments for window function is not correctly
897 passed. [GitHub#634][Patch by Naoya Murakami]
898
899 Thanks
900 ^^^^^^
901
902 * Naoya Murakami
903 * aomi-n