Debian Codegraph @

doc/source/news/5.rst

raw
1 .. -*- rst -*-
2
3 News - 5 series
4 ===============
5
6 .. _release-5-1-2:
7
8 Release 5.1.2 - 2016-01-29
9 --------------------------
10
11 Improvements
12 ^^^^^^^^^^^^
13
14 * Improved performance for sequential search against constant value
15 such as ``true`` and ``29``.
16
17 * Improved performance for sequential search against binary operation
18 with constant value such as ``x == 29`` and ``x < 29``.
19
20 * [:doc:`/reference/commands/select`] Changed score type to ``Float``
21 from ``Int32`` when :doc:`/reference/command/command_version` is 2.
22 The current default command version is 1. Command version 2 is
23 experimental. So this change isn't affected to normal users.
24 [GitHub#450][Patch by Naoya Murakami]
25
26 * [grn_ts] Supported match operator.
27
28 * [:doc:`/reference/executables/grndb`] Added ``--target`` option to
29 ``check`` command. It reduces check target.
30
31 * [Windows] Updated bundled msgpack to 1.3.0 from 1.0.1.
32
33 * [Windows] Updated bundled MeCab to 0.996 from 0.98.
34
35 * [``grn_hash_size()``] Added a new API that returns the number of
36 records in the hash table.
37
38 * [``GRN_HASH_TINY``] Added a new flag to create tiny hash table.
39
40 * [``grn_dump_table_create_flags()``] Added a new API that converts
41 ``flags`` value of a table to ``flags`` parameter format of
42 :doc:`/reference/commands/table_create`.
43
44 * [``grn_dump_column_create_flags()``] Added a new API that converts
45 ``flags`` value of a column to ``flags`` parameter format of
46 :doc:`/reference/commands/column_create`.
47
48 * [``grn_plugin_get_names()``] Added a new API that returns all plugin
49 names in a database.
50
51 * [``grn_column_get_all_index_data()``] Added a new API that returns
52 all index data for a table or data column.
53
54 * [:doc:`/reference/commands/schema`] Added indexes information to
55 indexed tables and data columns.
56
57 * [``grn_config_get()``] Renamed from ``grn_conf_get()``.
58
59 * [``grn_config_set()``] Renamed from ``grn_conf_set()``.
60
61 * [``grn_config_delete()``] Added a new API that deletes a
62 configuration item.
63
64 * [:doc:`/reference/commands/config_set`] Added a new command that
65 sets a configuration item.
66
67 * [:doc:`/reference/commands/config_get`] Added a new command that
68 gets a configuration item value.
69
70 * [:doc:`/reference/commands/config_delete`] Added a new command that
71 deletes a configuration item.
72
73 * [``grn_config_cursor_open()``] Added a new API that opens a new
74 cursor that iterates all configuration items.
75
76 * [``grn_config_cursor_next()``] Added a new API that moves to the
77 next configuration item in the cursor.
78
79 * [``grn_config_cursor_get_key()``] Added a new API that gets the
80 key of the current configuration item.
81
82 * [``grn_config_cursor_get_value()``] Added a new API that gets the
83 value of the current configuration item.
84
85 * [:doc:`/reference/alias`] Supported aliasing table and column names.
86
87 * [hash table] Added total key size overflow check.
88
89 * [:doc:`/reference/commands/dump`] Supported dumping configurations
90 set by :doc:`/reference/commands/config_set`.
91
92 * [patricia trie] Improved inspection.
93 [GitHub#452][GitHub#457][Patch by Naoya Murakami]
94
95 * [``grn_get_global_error_message()``] Added a new API that gets the
96 current error message in the process.
97
98 * [:doc:`/reference/commands/lock_acquire`] Added a new command that
99 acquires a lock of a database, table or column.
100
101 * [:doc:`/reference/commands/lock_release`] Added a new command that
102 releases a lock of a database, table or column.
103
104 * [:doc:`/reference/executables/groonga-httpd`] Updated bundled nginx
105 version to 1.9.10 from 1.9.7.
106
107 Fixes
108 ^^^^^
109
110 * Fixed mruby related crash bugs.
111
112 * [Windows] Fixed label in installer.
113 [groonga-dev,03825][Reported by Atsushi Shinoda]
114
115 * [doc] Fixed typos.
116 [GitHub#456][GitHub#458][Patch by tSU_RooT]
117
118 * [:doc:`/server/memcached`] Added more description.
119 [GitHub#454][Patch by Hiroyuki Sato]
120
121 * Fixed a bug that :doc:`/reference/command/command_version` specified
122 by ``command_version`` parameter in a request isn't reset.
123
124 Thanks
125 ^^^^^^
126
127 * Naoya Murakami
128
129 * Atsushi Shinoda
130
131 * tSU_RooT
132
133 * Hiroyuki Sato
134
135 .. _release-5-1-1:
136
137 Release 5.1.1 - 2015-12-29
138 --------------------------
139
140 Improvements
141 ^^^^^^^^^^^^
142
143 * [:doc:`/reference/grn_expr/script_syntax`] Supported ``INDEX_COLUMN
144 == VALUE`` as index search with an equal supported index.
145
146 * Reduced the continuous same messages from inverted index module.
147
148 * Supported detecting truncated tables by another process.
149 [GitHub#447] [groonga-dev,03761] [Reported by Yutaro SHIMAMURA]
150
151 * [:c:func:`grn_db_recover()`] Supported detecting a broken object.
152
153 * Improved performance for sequential scan search by
154 :doc:`/reference/regular_expression` match with constant pattern
155 such as ``COLUMN @~ "CONSTANT_PATTERN"``.
156
157 Fixes
158 ^^^^^
159
160 * Fixed build error on MessagePack support build.
161 [groonga-dev,03708] [Reported by Ryo Sugimoto]
162
163 * [mruby] Fixed a crash bug on error.
164 mruby exception feature is disabled as workaround for now.
165
166 * [:doc:`/reference/commands/thread_limit`] Fixed a bug that
167 ``thread_limit?max=1`` may not reduce the number of current running
168 threads to ``1``.
169
170 * [:doc:`/reference/commands/thread_limit`] Fixed a bug that
171 ``thread_limit?max=1`` may not return.
172
173 * [:doc:`/reference/tuning`] Fixed wrong ``sysctl`` argument.
174 [GitHub#448] [Reported by Hiroyuki Sato]
175
176 Thanks
177 ^^^^^^
178
179 * Ryo Sugimoto
180 * Yutaro SHIMAMURA
181 * Hiroyuki Sato
182
183 .. _release-5-1-0:
184
185 Release 5.1.0 - 2015-11-29
186 --------------------------
187
188 Improvements
189 ^^^^^^^^^^^^
190
191 * [patricia trie] Added an error check for the max total key
192 size. See :doc:`/limitations` about the max total key size.
193
194 * [:doc:`/reference/executables/grndb`] Added a check for broken
195 object. The check can detect a case that the object can't be opened.
196
197 * [``grn_obj_reindex()``] Added a new API that recreates existing
198 indexes.
199
200 * [:doc:`/reference/commands/reindex`] Added a new command that
201 recreates existing indexes.
202
203 * [inverted index] Improved estimation precision for query.
204
205 * [:doc:`/reference/commands/logical_range_filter`] Added fallback
206 mode for sequential search. If sequential search checked many
207 records but didn't find required the number of records, index search
208 is used as fallback.
209
210 * [``grn_get_package_label()``] Added a new API that returns package
211 label. It returns ``Groonga``.
212
213 * [:doc:`/reference/executables/groonga-server-http`] Added ``Server:
214 Groonga/VERSION`` response header.
215
216 * [:doc:`/reference/executables/groonga-httpd`] Improved performance
217 by reusing ``grn_ctx`` object.
218
219 * [``grn_file_reader``] Added a new API that provides ``fgets()``
220 feature. It fixes a crash bug of
221 :doc:`/reference/executables/groonga`. If
222 :doc:`/reference/executables/groonga` is built with static C runtime
223 by Visual Studio, the crash bug is occurred.
224
225 * [:doc:`/reference/functions/prefix_rk_search`] Added a new selector
226 that provides prefix RK search feature.
227
228 * [``grn_obj_is_accessor()``] Added a new predicate that checks
229 whether the object is an accessor.
230
231 * [``grn_obj_is_key_accessor()``] Added a new predicate that checks
232 whether the object is an accessor for ``_key``
233 :doc:`/reference/columns/pseudo`.
234
235 * Supported :doc:`/reference/command/pretty_print` for JSON output.
236
237 Fixes
238 ^^^^^
239
240 * [inverted index] Fixed a possible infinite loop bug when log level
241 is ``debug``.
242
243 * Fixed a bug that ``@`` operator (match operator) may not match
244 record that should be matched in sequential search mode.
245
246 * [patricia trie] Fixed a bug that invalid value may be returned for
247 empty string key. [groonga-dev,03632] [Reported by Naoya Murakami]
248
249 Thanks
250 ^^^^^^
251
252 * Naoya Murakami
253
254 .. _release-5-0-9:
255
256 Release 5.0.9 - 2015-10-29
257 --------------------------
258
259 Improvements
260 ^^^^^^^^^^^^
261
262 * [inverted index] Reduced log levels of logs for developers.
263
264 * Flushed pending changed on creating new database. It guards database
265 from crash.
266
267 * [``grn_geo_table_sort()``] Added a new API that sorts table by
268 geometry index.
269
270 * [experimental] Added expression rewrite mechanism. You can write
271 custom expression rewriter by mruby. Expression rewriter can be used
272 for optimizing an expression, changing conditions in an expression
273 and so on.
274
275 * [experimental] Added database global configuration mechanism. You
276 can put configurations (key and value pairs) into database. For
277 example, it will be used in :ref:`token-filter-stop-word` to custom
278 column name from ``is_stop_word``.
279
280 * [``grn_conf_set()``] Added a new API that sets a configuration.
281
282 * [``grn_conf_get()``] Added a new API that gets a configuration.
283
284 * [deb] Changed to ``all`` from ``any`` for
285 ``Architecture`` value.
286 [debian-bugs:799167][Reported by Matthias Klose]
287
288 * [Windows][CMake] Supported building bundled MeCab.
289 [groonga-dev,03562][Reported by Sato]
290
291 * [:doc:`/reference/commands/schema`] Added a new command that returns
292 schema. Schema is consists with loaded plugins, loaded tokenizers,
293 loaded normalizers, loaded token filters, defined tables and defined
294 columns.
295
296 * [:c:func:`grn_plugin_win32_base_dir()`] Deprecated. Use
297 :c:func:`grn_plugin_windows_base_dir()` instead.
298
299 * [:c:func:`grn_plugin_windows_base_dir()`] Renamed from
300 :c:func:`grn_plugin_win32_base_dir()`.
301
302 * [``grn_obj_is_type()``] Add a new API that returns true when the
303 passed object is a type object.
304
305 * [``grn_obj_is_tokenizer_proc()``] Add a new API that returns true
306 when the passed object is a tokenizer object.
307
308 * [``grn_obj_is_normalizer_proc()``] Add a new API that returns true
309 when the passed object is a normalizer object.
310
311 * [``grn_obj_is_token_filter_proc()``] Add a new API that returns true
312 when the passed object is a token filter object.
313
314 * [``grn_ctx_get_all_types()``] Add a new API that returns all type
315 objects in database.
316
317 * [``grn_ctx_get_all_tokenizers()``] Add a new API that returns all
318 tokenizer objects in database.
319
320 * [``grn_ctx_get_all_normalizers()``] Add a new API that returns all
321 normalizer objects in database.
322
323 * [``grn_ctx_get_all_token_filters()``] Add a new API that returns all
324 token filter objects in database.
325
326 * [``grn_ctx_output_uint64()``] Add a new API that outputs 64bit
327 unsigned integer value.
328
329 * [``grn_ctx_output_null()``] Add a new API that outputs ``NULL``.
330
331 * [``GRN_OBJ_IS_TRUE()``] Add a new API that returns true when the
332 passed object is true value.
333
334 * [experimental] Enabled grn_ts by default.
335
336 * [:doc:`/install/ubuntu`] Added Ubuntu 15.10 Wily Werewolf support.
337
338 Fixes
339 ^^^^^
340
341 * [patricia trie] Fixed a bug that the number of records may be
342 counted up unexpectedly on adding a new entry. [GitHub#417]
343
344 * [patricia trie] Fixed a bug that a variable may be used
345 uninitialized.
346
347 * [patricia trie] Fixed a bug that ``grn_pat_cursor_next()`` may enter
348 an infinite loop. [GitHub#419]
349
350 * [patricia trie] Fixed a bug that deleting an entry may break
351 patricia trie.
352 [GitHub#415][groonga-dev,03515][Reported by Hiroshi Kagami]
353
354 * [patricia trie] Fixed a bug that deleting a nonexistent entry may
355 break patricia trie. [GitHub#420]
356
357 * Fixed a bug that wrong proc type is used for token filter objects.
358
359 Thanks
360 ^^^^^^
361
362 * Matthias Klose
363 * Hiroshi Kagami
364 * Sato
365
366 .. _release-5-0-8:
367
368 Release 5.0.8 - 2015-09-29
369 --------------------------
370
371 Improvements
372 ^^^^^^^^^^^^
373
374 * [Windows] Supported build with MySQL again.
375
376 * [:doc:`/reference/grn_expr/script_syntax`] Changed return value type
377 to ``Bool`` from ``Int32`` for predicate operations such as
378 :ref:`script-syntax-match-operator` and
379 :ref:`script-syntax-equal-operator`.
380
381 * [:doc:`/reference/api`] Supported owning other ``grn_obj`` by
382 ``GRN_PTR`` and ``GRN_PVECTOR`` bulk. If you specify ``GRN_OBJ_OWN``
383 flag to ``GRN_PTR`` and ``GRN_PVECTOR`` bulks, they call
384 :c:func:`grn_obj_close()` against ``grn_obj`` that is held by
385 them when they are closed.
386
387 * [incompatible][:doc:`/reference/regular_expression`] Changed to
388 normalize regular expression match target text before matching. It's
389 for consistency and performance.
390
391 Other operations such as :ref:`script-syntax-prefix-search-operator`
392 normalize target text.
393
394 Some simple regular expressions such as ``\Ahello`` can be
395 evaluated by index. It's fast.
396
397 If target text isn't normalized, you need to use complex regular
398 expressions such as ``\A[Hh]ello`` and ``\A(?i)hello``. Complex
399 regular expressions can't be evaluated by index. If target text is
400 normalized, you can use simple regular expressions. They may be
401 evaluated by index. It's fast.
402
403 * [doc] Improved documents.
404 [GitHub#393][GitHub#396][GitHub#397][GitHub#399][GitHub#403]
405 [GitHub#405][GitHub#409]
406 [Reported by Hiroyuki Sato][Patch by Hiroyuki Sato]
407
408 * [:doc:`/reference/functions/highlight_html`] Improved performance.
409 [groonga-dev,03427] [Reported by Hiroyuki Sato]
410
411 * [:doc:`/reference/functions/snippet_html`] Improved performance.
412
413 * [CMake] Stopped to run ``pkg-config`` twice.
414 [Patch by Sergei Golubchik]
415
416 * Removed needless check for year in time. B.C. is always invalid time
417 without this change. B.C. is valid time when system (``mktime()``)
418 supports it with this change.
419
420 * [:c:func:`grn_ctx_is_opened()`] Added a new API that checks whether
421 object with the ID is opened or not.
422
423 * [:c:func:`grn_obj_remove()`] Reduced the maximum memory usage. If
424 :c:func:`grn_thread_get_limit()` returns ``1``, it closes temporary
425 opened objects after it finished to use them.
426
427 * [doc][:doc:`/reference/commands/table_remove`] Updated with many
428 descriptions.
429
430 * [:doc:`/reference/executables/groonga`] Ensured to add the last new
431 line to :doc:`/reference/commands/dump` result on stand alone mode.
432
433 * [:ref:`process-log`] Added Groonga version into ``grn_init`` log.
434
435 * Opened `chat room on Gitter <https://gitter.im/groonga/public>`_.
436
437 * [:doc:`/reference/commands/status`] Added ``start_time`` as alias of
438 ``starttime`` for consistency. Other keys use ``snake_case`` style.
439 ``starttime`` is deprecated. Use ``start_time`` instead.
440
441 * Updated bundled Onigmo.
442
443 * [doc][:doc:`/reference/scorers/scorer_tf_at_most`] Documented.
444
445 * Supported columns for temporary table. It's only available C API
446 users for now. :doc:`/reference/commands/select` will use this
447 feature in the next release.
448
449 * [``grn_vector_pop_element()``] Exported.
450
451 * [:doc:`/reference/executables/groonga`] Added checks whether
452 acquiring lock is succeeded or not.
453
454 * [:doc:`/reference/executables/groonga-suggest-create-dataset`]
455 Changed to use ``--normalizer`` instead of ``KEY_NORMALIZE`` because
456 ``KEY_NORMALIZE`` is deprecated.
457
458 * [``grn_obj_cast()``] Exported.
459
460 * [experimental][``grn_ii_cursor``] Exported.
461
462 * [experimental][``grn_ii_cursor_open()``] Exported.
463
464 * [experimental][``grn_ii_cursor_next()``] Exported.
465
466 * [experimental][``grn_ii_cursor_close()``] Exported.
467
468 * [:ref:`script-syntax-match-operator`] Improved index detection.
469 Index its lexicon has a tokenizer is preferred.
470
471 * [:doc:`/reference/executables/groonga-httpd`] Updated bundled nginx
472 to 1.9.5 that supports HTTP/2. HTTP/2 module is enabled.
473
474 Fixes
475 ^^^^^
476
477 * [:doc:`/reference/grn_expr/script_syntax`] Fixed a bug that ``&!``
478 does nothing when right hand side is ``true``.
479
480 * Fixed performance regression with libtool 2.4.6.
481 [GitHub#406][GitHub#407] [Patch by Hiroyuki Sato]
482
483 * [:ref:`script-syntax-equal-operator`] Fixed a bug that section is
484 ignored.
485
486 Thanks
487 ^^^^^^
488
489 * Hiroyuki Sato
490 * Sergei Golubchik
491
492 .. _release-5-0-7:
493
494 Release 5.0.7 - 2015-08-31
495 --------------------------
496
497 This release includes a bug fix of :ref:`offline-index-construction`.
498
499 If you're using any multiple column index (index column with
500 ``WITH_SECTION`` flag) and :ref:`offline-index-construction`, we
501 recommend that you upgrade your Groonga.
502
503 This release has an important experimental feature for Windows users.
504 See "sparse file support" entry in the following improvement list for
505 details.
506
507 Improvements
508 ^^^^^^^^^^^^
509
510 * [experimental][Windows] Added sparse file support. It's experimental
511 feature. It's disabled by default. You can enable it by specifying
512 ``GRN_IO_USE_SPARSE=yes`` environment variable.
513
514 It reduces database file size on Windows. Please try the feature and
515 report the result. Groonga developers are interested in the
516 followings:
517
518 * Disk usage
519 * Performance (Improved? Degraded? No difference?)
520 * Memory usage (Especially virtual memory usage)
521
522 * [experimental][:doc:`/reference/commands/logical_shard_list`] Added
523 a command that returns a shard list of the specified logical table.
524
525 * [experimental][:ref:`script-syntax-regular-expression-operator`]
526 Supported regular expression match against vector column without
527 index.
528
529 * [:doc:`/reference/commands/logical_range_filter`] Supported
530 ``--cache no`` option. It's same as :ref:`select-cache` option in
531 :doc:`/reference/commands/select`.
532
533 * [:doc:`/reference/executables/groonga-httpd`] Supported returning
534 the max number of threads feature of
535 :doc:`/reference/commands/thread_limit`. You can't set the max
536 number of threads.
537
538 * [:c:func:`grn_db_unmap()`] Added a new API that unmaps all opened
539 tables and columns. It's a thread unsafe operation. You can't touch
540 the database while :c:func:`grn_db_unmap()` is running.
541
542 * [:doc:`/reference/commands/database_unmap`] Added a command that
543 unmaps all opened tables and columns in database.
544
545 * [:doc:`/reference/commands/object_exist`] Added a command that
546 checks whether object with the specified name exists or not in
547 database.
548
549 * [:doc:`/reference/commands/column_copy`] Added a command that copies
550 all values from source column to destination column.
551
552 You can use this command to change column value type, column type,
553 table type and so on.
554
555 * Stopped to use non-standard ``__uint32_t``
556 type. [GitHub#375][Reported by Natanael Copa]
557
558 * [experimental][Windows] Supported Windows Event log.
559
560 * [mruby] Supported error handling on mruby initialization error.
561
562 * [experimental][:doc:`/reference/commands/thread_limit`] Renamed from
563 ``thread_count``.
564
565 * Supported logging used indexes in ``info`` level and ``debug``
566 level. It can be used like ``EXPLAIN`` in RDBMS. It's useful to
567 improve slow query.
568
569 * [doc] Replaced deprecated ``KEY_NORMALIZE`` flags.
570 [GitHub#378][GitHub#380][GitHub#382] [Patch by Hiroyuki Sato]
571
572 * [doc] Removed needless Sphinx configurations.
573 [GitHub#379] [Patch by Ayumu Osanai]
574
575 * [experimental][incompatible][:ref:`script-syntax-regular-expression-operator`]
576 Changed ``.`` match behavior. ``.`` matches new line. It's backward
577 incompatible change.
578
579 * [doc][:doc:`/contribution/development/build`] Added a document about
580 building Groonga as Groonga developer.
581 [GitHub#353] [Suggested by Hiro Yoshioka]
582
583 Fixes
584 ^^^^^
585
586 * [mruby] Fixed a time overflow bug.
587
588 * [:doc:`/reference/executables/groonga`] Fixed a crash bug when
589 PID file can't be created. [GitHub#368] [Reported by Hiroyuki Sato]
590
591 * Fixed a bug that :ref:`offline-index-construction` may generate
592 broken index. It may be caused for multiple column index. In other
593 words, index column with ``WITH_SECTION`` flag may be broken.
594
595 If you're using :ref:`online-index-construction` for index columns
596 with ``WITH_SECTION`` flag, this bug isn't affected.
597
598 You can recover this bug by recreating existing multiple column
599 indexes.
600
601 * [:doc:`/reference/functions/query`] Fixed a crash bug when
602 :doc:`/reference/functions/query` is used in :ref:`select-scorer`.
603
604 * [:ref:`select-filter`] Fixed a bug that
605 :ref:`script-syntax-bitwise-not` against unsigned int value doesn't
606 work for comparing to ``-NUMBER_LITERAL``.
607
608 For example, the following expression doesn't work::
609
610 ~UINT32_COLUMN == -6
611
612 * Fixed a bug that :ref:`script-syntax-regular-expression-operator`
613 doesn't work in multithread.
614
615 * Fixed some memory leaks.
616
617 * Fixed a build error. [GitHub#381] [Patch by Hiroshi Hatake]
618
619 Thanks
620 ^^^^^^
621
622 * Hiroyuki Sato
623 * Natanael Copa
624 * Ayumu Osanai
625 * Hiroshi Hatake
626 * Hiro Yoshioka
627
628 .. _release-5-0-6:
629
630 Release 5.0.6 - 2015-07-29
631 --------------------------
632
633 Improvements
634 ^^^^^^^^^^^^
635
636 * [:doc:`/install/ubuntu`] Dropped Ubuntu 14.10 (Utopic Unicorn) support. It had been
637 End of Life on July 23, 2015.
638 * Supported offline index construction for reference vector. For example, ``load``
639 data before ``column_create`` an index::
640
641 table_create Entries TABLE_NO_KEY
642 column_create Entries numbers COLUMN_VECTOR Int32
643
644 load --table Entries
645 [
646 ["numbers"],
647 [[18, 19, 20]],
648 [[100, 200]]
649 ]
650
651 table_create Numbers TABLE_PAT_KEY Int32
652 column_create Numbers entries_numbers COLUMN_INDEX Entries numbers
653
654 select Numbers --output_columns _key
655
656 * Supported ``'vector_text_column @ "element"'`` without index. For example, the
657 ``select`` command in the following commands::
658
659 table_create Memos TABLE_NO_KEY
660 column_create Memos tags COLUMN_VECTOR Text
661
662 load --table Memos
663 [
664 {"tags": ["Groonga", "Rroonga", "Mroonga"]}
665 ]
666
667 select Memos --filter 'tags @ "Rroonga"'
668
669 * Supported ``'fixed_size_type_vector_column @ n'`` without index. For example, the
670 ``select`` command in the following commands::
671
672 table_create Memos TABLE_NO_KEY
673 column_create Memos numbers COLUMN_VECTOR Int32
674
675 load --table Memos
676 [
677 {"numbers": [1, 2, 3]}
678 ]
679
680 select Memos --filter 'numbers @ 2'
681
682 * [:doc:`/install/centos`][:doc:`/server/package`][:doc:`/reference/executables/groonga-httpd`]
683 Show exit status. [GitHub#357] [Patch by jacob16bit]
684 * [:doc:`/install/windows`][:doc:`/reference/executables/groonga`] Supported ``--pid-path``.
685 * [:doc:`/install/windows`] Allowed to delete file that is opened by other process.
686 * Accepted selector only proc. Note that the proc can't be used as function. It means
687 that the proc can't be used with sequential search.
688 * Supported function call with complex argument. An example complex argument is
689 ``Table["key"].column``. For example::
690
691 function(_key, Table["key"].column)
692
693 * [doc][:doc:`/tutorial`] Added more description about database creation fails if DB_PATH
694 points to an existing file. [GitHub#354] [Suggested by Hirotaka Takayama]
695 * [doc][:doc:`/tutorial`] Described JSON formatting tools.
696 [GitHub#355] [Suggested by tiwawan]
697 * [experimental] Added an API to get/set the number of threads. It's a experimental API.
698 * [experimental][``thread_count``] Added a command that get/set the number of threads.
699 It's a experimental command.
700 * [experimental][:doc:`/reference/executables/groonga`] Supported changing the number
701 of threads by ``thread_count`` command. It's a experimental feature.
702 * [experimental][:doc:`/install/windows`] Added Windows event log support.
703 It's a experimental feature.
704 * [experimental][:doc:`/reference/executables/groonga`] Added Windows event log related
705 option ``--use-windows-event-log``. It reports logs as Windows events.
706 It's a experimental feature.
707 * [:doc:`/install/windows`] Used Groonga's default encoding for log message.
708 * Log used indexes in ``INFO`` level. The default level ``NOTICE``. So the logs aren't
709 showed by default.
710 * [API] Added :c:func:`grn_log_level_to_string()` and :c:func:`grn_log_level_parse()`.
711 * [:doc:`/reference/executables/groonga`] Accepted log level name (e.g. ``info``,
712 ``debug`` and so on) for ``--log-level`` value.
713 * [:doc:`/reference/commands/log_level`][:doc:`/reference/commands/log_put`]
714 Accepted log level name for ``--level`` argument.
715 * [plugin] Added :c:func:`grn_command_input_get_arguments()`.
716 * Updated sharding plugins.
717
718 * [:doc:`/reference/commands/logical_select`] Fixed output format.
719 It has become :doc:`/reference/commands/select` compatible format.
720 * [:doc:`/reference/commands/logical_select`] Supported the following parameters.
721
722 * ``--output_columns``
723 * ``--offset``
724 * ``--limit``
725 * ``--drilldown``
726 * ``--drilldown_sortby``
727 * ``--drilldown_offset``
728 * ``--drilldown_limit``
729
730 * [:doc:`/reference/commands/logical_select`] Used the same default output_columns
731 (``"_id, _key, *"``) as :doc:`/reference/commands/select`.
732 * [:doc:`/reference/commands/logical_select`] Supported
733 :ref:`logical-select-drilldowns-label-calc-types` and
734 :ref:`logical-select-drilldowns-label-calc-target` for labeled drilldown.
735 * [:doc:`/reference/commands/logical_select`] Supported cache.
736 * [:doc:`/reference/commands/logical_count`] Supported logging whether range index is
737 used or not.
738 * [:doc:`/reference/commands/logical_count`] Show target table name in debug log.
739 * [:doc:`/reference/commands/logical_count`] Supported cache.
740 * [:doc:`/reference/commands/logical_range_filter`] Supported
741 ``'fixed_size_type_vector_column @ element'``.
742 * [:doc:`/reference/commands/logical_range_filter`] Added ``use_range_index`` parameter.
743 It's a parameter for test. It should not be used for production.
744 * [:doc:`/reference/commands/logical_range_filter`] Log which mode (range-index or
745 select mode) is used.
746 * [:doc:`/reference/commands/logical_range_filter`] Supported cache.
747 * [:doc:`/reference/commands/logical_range_filter`] Supported nested reference vector
748 accessor.
749 * [:doc:`/reference/commands/logical_range_filter`] Used range_index value set by
750 :doc:`/reference/commands/logical_parameters`.
751 * [:doc:`/reference/commands/logical_parameters`] Added.
752
753 * Added mruby APIs.
754
755 * [mrb] Added ``Accessor#name``.
756 * [mrb] Added ``Column#[]``.
757 * [mrb] Added ``Column#scalar?``, ``Column#vector?`` and ``Column#index?``.
758 * [mrb] Added ``Context#command_version`` and ``Context#command_version=`` (accessors).
759 * [mrb] Added ``Context#with_command_version``.
760 * [mrb] Added ``Database#each_name``.
761 * [mrb] Added ``Groonga::Cache.current``.
762 * [mrb] Added ``Record``.
763 * [mrb] Added ``Table#each``.
764 * [mrb] Added ``TableCursor#key``.
765 * [mrb] Binded :c:func:`grn_command_input_get_arguments()` to ``CommandInput#arguments``.
766 * [mrb] Binded :c:func:`grn_table_group()` to ``Table#group``.
767 * [mrb] Binded :c:func:`grn_table_group_flags()` to ``TableGroupFlags``.
768 * [mrb] Binded ``GRN_COMMAND_VERSION_DEFAULT``.
769 * [mrb] Binded ``grn_cache``.
770 * [mrb][estimate_size] Supported ``(... || ...) && (... || ...)`` as expression case.
771 * [mrb] Supported query log.
772
773 Fixes
774 ^^^^^
775
776 * Fixed a memory leak when an error is occurred in :c:func:`grn_expr_exec()`.
777 For example, unsupported operator (e.g. ``GRN_OP_TERM_EXTRACT``) is used
778 (``not implemented operator assigned`` is occurred for the case).
779 * [bindings/php] Added a missing check for a memory allocation failure.
780 [Reported by Bill Parker]
781 * [:doc:`/install/centos`][:doc:`/server/package`][logrotate] Fixed syntax error in script.
782 * [:doc:`/install/centos`][:doc:`/server/package`][logrotate] Fixed wrong daemon running check.
783 * [:doc:`/install/centos`][:doc:`/server/package`][logrotate] Stop to set owner/group to log files.
784 Because it's not consistent. groonga-httpd creates log files with root
785 owner/group. But logrotated log files are created with groonga
786 owner/group. [GitHub#358] [Reported by jacob16bit]
787 * [:doc:`/reference/executables/groonga`] Fixed reported the maximum number of threads.
788 * [:doc:`/reference/executables/groonga-httpd`] Remove a needless space in log message::
789
790 |n| grn_fin (0) ->
791 |n| grn_fin (0)
792 ^
793
794 * Fixed a bug that estimating size by regexp query with anchor (e.g. ``\\\\A`` in
795 ``--filter 'comment @~ "\\\\Abc"'``) doesn't work. The feature is used in
796 :doc:`/reference/commands/logical_range_filter`.
797 * [:doc:`/reference/command/request_id`] Fixed a memory leak when ``request_id`` byte size >= 24.
798 * [:doc:`/reference/commands/lock_clear`] Fixed a typo in command name in Syntax section.
799 [GitHub#363] [Reported by Christian Kakesa]
800 * [sharding] Fixed wrong min include detection for month range type.
801
802 Thanks
803 ^^^^^^
804
805 * Bill Parker
806 * jacob16bit
807 * Hirotaka Takayama
808 * tiwawan
809 * Christian Kakesa
810
811 .. _release-5-0-5:
812
813 Release 5.0.5 - 2015-06-29
814 --------------------------
815
816 Improvements
817 ^^^^^^^^^^^^
818
819 * Show correct error information such as NoSuchFileOrDirectory when opening a database.
820 * Don't set the default logger path for library use.
821
822 * It's backward incompatible change. But it will not effect to many users.
823 * Server use (groonga command, Mroonga, PGroonga and so on) users can get
824 log by default. In server use, developers set up log in their software.
825 * Most library use (Rroonga, groonga-gobject and so on) users couldn't get
826 log by default with earlier versions. The default log path is system
827 path such as /var/log/groonga/groonga.log. It's not writable for normal
828 users.
829
830 * [windows] Show error information when memory isn't enough on failing ``CreateFileMapping()``.
831 * [:doc:`/reference/commands/tokenize`] Updated example to show new "force_prefix" value.
832 This value is added since 5.0.4.
833 * [windows] Show error information when disk has any problem (disk full and so on) on failing ``FlushViewOfFile()``.
834 * [API] Added :c:func:`grn_obj_flush()`.
835 * [API] Added :c:func:`grn_obj_flush_recursive()`.
836 * [:doc:`/reference/commands/io_flush`] Added. It flushes memory mapped data to disk.
837 Usually memory data automatically flush by an OS, but you can explicitly flush with
838 this command.
839 * [mruby] Binded ``grn_obj_remove()`` to Object#remove.
840 * [mruby] Binded ``grn_table_delete()`` and ``grn_table_delete_by_id()`` to Table#delete.
841 * [:doc:`/reference/commands/logical_table_remove`] Added.
842 * [:doc:`/reference/commands/logical_select`] Added. ``--filter`` is only supported for now.
843 * [cmake] Supported embedded MeCab tokenizer.
844 * [:doc:`/reference/commands/logical_count`] Supported month and day mixed shards.
845 In the same month, month shard must have earlier records rather than day
846 shards in the same month. For example::
847
848 XXX_201506 <- includes only 2015-06-01 and 2015-06-02 records
849 XXX_20150603 <- includes only 2015-06-03 records
850 XXX_20150604 <- includes only 2015-06-04 records
851
852 Fixes
853 ^^^^^
854
855 * Fixed wrong macro to include netinet/in.h.
856 [GitHub#348] [Reported by OBATA Akio]
857 * [rpm][:doc:`/reference/executables/groonga-httpd`] Fixed failing restart.
858 [GitHub#351] [Patch by jacob16bit]
859
860 Thanks
861 ^^^^^^
862
863 * OBATA Akio
864 * jacob16bit
865
866 .. _release-5-0-4:
867
868 Release 5.0.4 - 2015-05-29
869 --------------------------
870
871 Improvements
872 ^^^^^^^^^^^^
873
874 * [mruby] Changed to use ``inspect`` to show meaningful error message for error value.
875 * [mruby] Supported ``Groonga::Bulk#inspect`` to inspect bulk content.
876 * [mruby] Supported ``Bulk#value`` to extract the value of record from bulk content.
877 * [mruby] Supported estimating size for ``reference_column == record_id`` in
878 :doc:`/reference/commands/logical_range_filter`. In above case, it can be searched
879 more effectively.
880 * [:doc:`/reference/functions/sub_filter`] Supported index column as ``scope`` parameter.
881 * [:doc:`/reference/grn_expr/script_syntax`] Described clearly about numerical
882 value. [GitHub groonga/groonga.org#16] [Suggested by Hiroyuki Sato]
883 * [:doc:`/reference/commands/select`] Supported accessing other table's record in filter.
884 You can use ``--filter 'OTHER_TABLE[KEY].COLUMN'`` for example.
885 * [:doc:`/reference/commands/select`] Supported operator in table key.
886 You can use ``--filter 'OTHER_TABLE["SOME STRING" + "ANOTHER STRING"].COLUMN'"`` for example.
887 * [example] Used Ruby 2.0 or later API in script for converting dictionary data.
888 * Changed to show error message about invalid type of keys about table.
889 * [doc] Fixed link from sourceforge.jp to osdn.me or osdn.jp about mailing list preference page.
890 SourceForge.jp is marked as obsoleted because of branding issue since May 11, 2015.
891 * [:doc:`/reference/commands/tokenize`] Added ``force_prefix`` value to each token information. [Patch by Naoya Murakami]
892 * Supported to search by shorter words such as 2 or less characters for :ref:`token-trigram`.
893 [Patch by Naoya Murakami]
894 * [deb] Added service file for Systemd into groonga-httpd and groonga-server-gqtp packages.
895 * [:doc:`/reference/commands/select`] Ignored ``--query`` when its
896 value consists of only space characters. Space characters include
897 full-width space (``U+3000 IDEOGRAPHIC SPACE`` in
898 Unicode). [Suggested by TomyGX]
899
900 Fixes
901 ^^^^^
902
903 * Fixed a crash bug when empty key is specified for ``drilldown[label].keys``.
904 * Fixed a bug that the return value of ``grn_parse_query_flags`` is not properly checked.
905 [GitHub#336] [Reported by Hiroaki Nakamura]
906 * Fixed a build error on some BSD systems. They doesn't have ``-i`` option for ``sed``.
907 * Fixed a build error on Solaris. It is changed to initialize by ``sizeof(msghdr)`` in ``memset()`` because
908 ``msg_control``, ``msg_controllen`` and ``msg_flags`` doesn't exist on Solaris by default.
909 * [:doc:`/reference/tokenizers`] Fixed a typo. [GitHub#338] [Reported by Hiroyuki Sato]
910 * [:doc:`/reference/output`] Fixed markup. [GitHub groonga/groonga.org#17]
911 [Reported by Hiroyuki Sato]
912 * Reduced getenv() in each ``grn_ii_cursor_set_min()``. This fixes performance
913 regression on Windows.
914 * Fixed a build error on OpenBSD. [groonga-dev,03255] [Reported by fbnteqr]
915 * [:doc:`/reference/executables/groonga-httpd`] Fixed a bug that same message is
916 logged.
917 * Fixed a crash bug which is caused by double free memory.
918 * Fixed a memory leak. It's occurred when ``--match_columns`` and ``--query`` are
919 used for non indexed text field and text fields have a value that isn't bulk
920 embeddable. Normally, 32byte over size text isn't bulk embeddable, so this bug
921 doesn't affect to the case if only small text less than 32byte are stored.
922 * [:doc:`/reference/tokenizers`] [TokenRegexp] Fixed a bug that it can't be searched
923 correctly when query contains characters which are treated as blank character.
924 For example, the newline - "\\n" is typical one.
925
926 Thanks
927 ^^^^^^
928
929 * Hiroaki Nakamura
930 * Hiroyuki Sato
931 * Naoya Murakami
932 * fbnteqr
933 * TomyGX
934
935 .. _release-5-0-3:
936
937 Release 5.0.3 - 2015-04-29
938 --------------------------
939
940 Improvements
941 ^^^^^^^^^^^^
942
943 * [:doc:`/reference/tokenizers`][:doc:`/reference/regular_expression`]
944 Skip the last one character token.
945 * [mruby] Supported regexp pattern for estimating size.
946 * [mruby] Supported size estimation for accessor.
947 * [:doc:`/reference/commands/logical_range_filter`] Removed ``GRN_LOGICAL_RANGE_FILTER_ENABLED``
948 environment variable which is introduced since Groonga 5.0.2.
949 Use ``GRN_LOGICAL_RANGE_FILTER_THRESHOLD=0`` to disable range index search
950 feature.
951 * [:doc:`/reference/commands/logical_range_filter`] Supported negative limit and offset.
952 * [:doc:`/install/windows`] Used `Groonga Admin <https://github.com/groonga/groonga-admin>`_ in package.
953 * [:doc:`/reference/commands/logical_range_filter`] Changed threshold meaning:
954
955 * threshold <= 0.0: always use range index
956 * threshold >= 1.0: never use range index
957
958 * [:doc:`/reference/commands/dump`] Supported plugin.
959 * [:doc:`/reference/commands/dump`] Added the following options:
960
961 * ``--dump_plugins [yes(default)/no]``
962 * ``--dump_schema [yes(default)/no]``
963 * ``--dump_records [yes(default)/no]``
964 * ``--dump_indexes [yes(default)/no]``
965
966 * [API] Added :c:func:`grn_plugin_get_ruby_suffix()`.
967 * [:doc:`/reference/commands/dump`] Fixed order to put index columns after reference columns
968 because index column may refer reference columns.
969 * [:doc:`/reference/commands/dump`] Don't dump records of lexicon.
970 * [:doc:`/reference/commands/dump`] Show ``_id`` for ``TABLE_NO_KEY`` again.
971 * [:doc:`/reference/commands/dump`] Used offline index construction.
972 * Increased max hash key size from 4KiB (4096Byte) to 64KiB - 1 (65535Byte).
973 * Increased max cache key size from 4KiB (4096Byte) to 64KiB - 1 (65535Byte).
974 * Improved performance for nested index search.
975 * Used index for nonexistent reference column value.
976 * [experimental] Added plugin functions/vector. It includes :doc:`/reference/functions/vector_size` function.
977 * [:doc:`/install/windows`] Updated Visual Studio version
978 [GitHub groonga/meetup#4] [Reported by Hiroyuki Mizuhara]
979 * [:doc:`/reference/commands/cache_limit`] Expired old caches when the max N caches is decreased.
980 [Suggested by Gurunavi, Inc.]
981 * Show more information such as errno for errors.
982 * [windows] Used secure functions on Windows.
983 * Added the following APIs to change log rotate threshold in file size.
984
985 * :c:func:`grn_default_logger_set_rotate_threshold_size()`
986 * :c:func:`grn_default_logger_get_rotate_threshold_size()`
987 * :c:func:`grn_default_query_logger_set_rotate_threshold_size()`
988 * :c:func:`grn_default_query_logger_get_rotate_threshold_size()`
989
990 * [experimental] Supported log rotation. The feature is disabled by default.
991 You can enable log rotation by the following options:
992
993 * ``--log-rotate-threshold-size``
994 * ``--query-log-rotate-threshold-size``
995
996 * [:doc:`/server/gqtp`] Documented about GQTP server.
997 * [:doc:`/reference/executables/groonga`] Documented groonga executable file partially.
998 * Supported Ubuntu 15.04 (Vivid Vervet).
999 * Supported Debian 8.0 (Jessie).
1000 * [:doc:`/reference/executables/groonga-httpd`] Updated bundled nginx version to the latest mainline (1.8.0).
1001
1002 Fixes
1003 ^^^^^
1004
1005 * [windows] Fixed a bug that :ref:`offline-index-construction` is
1006 failed for large data (at least 1GB or larger) with Groonga built by
1007 Microsoft Visual C++. [Reported by Hideki ARAI]
1008 * [mruby] Made ``\\`` index searchable in regular expression.
1009 * Fixed a bug that ``GRN_II_CURSOR_SET_MIN_ENABLE=yes`` doesn't return some matched records.
1010 * [sharding] Fixed a bug that partial range is handled as all range.
1011 * [:doc:`/reference/commands/logical_range_filter`] Fixed a bug that ``:order => "descending"`` doesn't work.
1012 * [:doc:`/reference/commands/logical_count`] Re-supported counting with range index.
1013 * Fixed a bug causing malfunction of :c:func:`grn_pat_del()`
1014 and added a test for invalid patricia trie node add case.
1015 [groonga-dev,03177] [Reported by yuya sako]
1016
1017 Thanks
1018 ^^^^^^
1019
1020 * Hideki ARAI
1021 * Hiroyuki Mizuhara
1022 * Gurunavi, Inc.
1023 * yuya sako
1024
1025 .. _release-5-0-2:
1026
1027 Release 5.0.2 - 2015-03-31
1028 --------------------------
1029
1030 It's a bug fix release of 5.0.1.
1031
1032 Improvements
1033 ^^^^^^^^^^^^
1034
1035 * Supported MessagePack 1.0.1. [Reported by Hiroshi Hatake]
1036 * [logical_range_filter] Disabled range index by default. It's enabled
1037 when you set the environment variable ``GRN_LOGICAL_RANGE_FILTER_ENABLED``
1038 to ``yes``.
1039
1040 Fixes
1041 ^^^^^
1042
1043 * Fixed a regression bug that JSONP doesn't work. It was introduced
1044 in Groonga 4.1.1.
1045 * [windows] Fixed a bug that crash on x86 for Groonga 5.0.1.
1046 [groonga-dev,03131] [Reported by Atsushi Shinoda]
1047 * Fixed a crash bug that libedit is not properly initialized. The
1048 problem is fixed in the environment such as CentOS 7.
1049
1050 Thanks
1051 ^^^^^^
1052
1053 * Atsushi Shinoda
1054 * Hiroshi Hatake
1055
1056 .. _release-5-0-1:
1057
1058 Release 5.0.1 - 2015-03-29
1059 --------------------------
1060
1061 Improvements
1062 ^^^^^^^^^^^^
1063
1064 * [:doc:`/reference/commands/logical_range_filter`] Supported filter
1065 and sort.
1066 * Supported range search by multiple column index.
1067 * Added API :doc:`/reference/api/overview` document for users who want
1068 to use Groonga as library.
1069 * [incompatible] Changed internal type of ``_score`` to floating point
1070 number from 32bit integer number. This is incompatible change for DB
1071 API users. This *isn't* incompatible change for query API users. It
1072 means that users who just use :doc:`/reference/commands/select`
1073 aren't affected. Use the following code that works with both older
1074 and newer Groonga:
1075
1076 .. code-block:: c
1077
1078 grn_obj *score;
1079 double score_value;
1080
1081 if (score->header.domain == GRN_DB_FLOAT) {
1082 score_value = GRN_FLOAT_VALUE(score);
1083 } else {
1084 score_value = (double)GRN_INT32_VALUE_FLOAT_VALUE(score);
1085 }
1086
1087 * [:doc:`/reference/commands/select`] Added more strict check for
1088 invalid drilldown parameter.
1089 * Added :c:func:`grn_ctx_get_all_tables()`. [Suggested by Masatoshi
1090 Teruya]
1091 * Supported to customize score function. See :doc:`/reference/scorer`
1092 for details.
1093 * [incompatible] Custom score function feature introduced API and ABI
1094 incompatibilities in DB API layer. If you're using
1095 :c:type:`grn_search_optarg`, please check that your code initializes
1096 your :c:type:`grn_search_optarg` by ``0`` like the following:
1097
1098 .. code-block:: c
1099
1100 grn_search_optarg options;
1101 memset(&options, 0, sizeof(grn_search_optarg));
1102
1103 If your code do the above thing, your code is API compatible and ABI
1104 incompatible. You just need to rebuild your code without
1105 modification.
1106
1107 If your code doesn't the above thing, you need to added the above
1108 thing to your code.
1109
1110 * Added the following predicates that check :c:type:`grn_obj` type to
1111 DB API:
1112
1113 * :c:func:`grn_obj_is_table()`
1114 * :c:func:`grn_obj_is_proc_proc()`
1115 * :c:func:`grn_obj_is_function_proc()`
1116 * :c:func:`grn_obj_is_selector_proc()`
1117 * :c:func:`grn_obj_is_scorer_proc()`
1118
1119 * [experimental] Supported skipping posting list when searching
1120 popular term and rare term at the same time. It will improve
1121 performance. Set ``GRN_II_CURSOR_SET_MIN_ENABLE`` environment
1122 variable to ``1`` to enable the feature. The feature is disabled by
1123 default.
1124 * [doc] Added :doc:`/reference/functions/in_values` document.
1125 * [doc] Added :doc:`/reference/commands/logical_count` document.
1126 * [mruby] Implemented custom ``#inspect`` method. Is is useful for
1127 debugging.
1128 * Added :doc:`/reference/scorers/scorer_tf_at_most` scorer. It
1129 limits not to exceed specified score regardless of term frequency.
1130 * [mruby] Supported estimating matched records for selecting index
1131 search or sequential search.
1132 * Added the following functions to estimate size by index:
1133
1134 * :c:func:`grn_expr_estimate_size()`
1135 * :c:func:`grn_ii_estimate_size_for_query()`
1136 * :c:func:`grn_ii_estimate_size_for_lexicon_cursor()`
1137
1138 * Added missing :ref:`normalizer-auto` availability check. [GitHub#283]
1139 [Reported by Tasuku SUENAGA]
1140 * Dropped Visual Studio 2010 support.
1141 * [experimental][mecab] Supported chunked tokenization. This feature
1142 is a workaround for MeCab's "too long sentense" error. Specify
1143 ``yes`` to ``GRN_MECAB_CHUNKED_TOKENIZE_ENABLED`` environment
1144 variable to enable it. By this configuration, Groonga splits a long
1145 text (8192 bytes over text by default) into small chunks and passes
1146 each chunk to MeCab. By this process, the above error isn't
1147 occurred. Additionally, you can customize chunk threshold bytes by
1148 ``GRN_MECAB_CHUNK_SIZE_THRESHOLD`` environment variable. Note that
1149 ``,``, ``.``, ``!``, ``?``, ``U+3001 IDEOGRAPHIC COMMA``, ``U+3002
1150 IDEOGRAPHIC FULL STOP``, ``U+FF01 FULLWIDTH EXCLAMATION MARK`` and
1151 ``U+FF1F FULLWIDTH QUESTION MARK`` are treated as chunk delimiter
1152 characters.
1153 * Supported ``--pid-file`` in server mode of
1154 :doc:`/reference/executables/groonga`.
1155 * [groonga-httpd] Supported graceful stop to clean Groonga. It doesn't
1156 terminate the open connections immediately.
1157 * [experimental] Supported regular expression. See
1158 :doc:`/reference/regular_expression` to know about how to use regular
1159 expression.
1160 * [experimental] Added :doc:`/reference/commands/plugin_unregister`
1161 command.
1162 * [http][:doc:`/reference/commands/load`] Added "," as chunk separator
1163 in POST data. It decreases internal buffer size and improves load
1164 time when POST data don't include any new line.
1165 * [doc] Added :doc:`/reference/tokenizers` document.
1166 * Improved POSIX.2 compatibility by using ``.`` as bash's "source"
1167 command replacement. [GitHub#317] [Patch by Jun Kuriyama]
1168 * [windows] Changed to the default IO version 1. It reduces disk usage
1169 on Windows. [groonga-dev,03118] [Tested by ongaeshi]
1170 * [httpd] Updated bundled nginx version to the latest mainline
1171 (1.7.11).
1172 * Changed mime-type for TSV output to ``text/tab-separated-values``
1173 from ``text/plain``.
1174 * [:ref:`token-filter-stop-word`] Supported
1175 :ref:`offline-index-construction`. [GitHub#296] [Patch by Naoya
1176 Murakami]
1177
1178 Fixes
1179 ^^^^^
1180
1181 * Fixed not to use obsolete ``--address`` parameter in the default
1182 groonga.conf. ``--bind-address`` is used instead. [Groonga-talk]
1183 [Reported by Dewangga]
1184 * [:doc:`/reference/commands/truncate`] Fixed a bug that
1185 :ref:`table-no-key` table can't be truncated.
1186 * [mecab] Reduced needless logs for "empty token" and "ignore empty
1187 token".
1188 * Fixed a bug that wrong section in index is used. It means that wrong
1189 search result is returned. If you satisfy all of the following
1190 conditions, this bug is occurred:
1191
1192 * Multiple indexes are available.
1193 * The first defined index or the last defined index are
1194 multi-column indexes.
1195 * When both of the first defined index and the last defined index are
1196 multi-column indexes, source column orders are different in them.
1197
1198 * Fixed a bug that passing Groonga command line to
1199 :doc:`/reference/executables/groonga` from shell command line style
1200 usage always returns ``0`` as exit code. For example, ``groonga
1201 DB_PATH nonexistent_command`` always returned ``0`` as exist code.
1202 * Fixed a bug that plugin path may be broken when two or more plugins
1203 registered. [Reported by Naoya Murakami]
1204 * Fixed a bug that ``Lexicon.index.source_column_name`` style in
1205 :ref:`select-match-columns` doesn't work when source
1206 column specified by ``source_column_name`` has two or more
1207 indexes. [Reported by Naoya Murakami]
1208
1209 Thanks
1210 ^^^^^^
1211
1212 * Masatoshi Teruya
1213 * Tasuku SUENAGA
1214 * Dewangga
1215 * Jun Kuriyama
1216 * ongaeshi
1217 * Naoya Murakami
1218
1219 .. _release-5-0-0:
1220
1221 Release 5.0.0 - 2015-02-09
1222 --------------------------
1223
1224 * Bump version to 5.0.0!
1225
1226 Improvements
1227 ^^^^^^^^^^^^
1228
1229 * [doc] Added :ref:`script-syntax-security` about :doc:`/reference/grn_expr/script_syntax`.
1230 * [experimental] Added sharding plugin. Execute `register sharding` to
1231 enable this feature in advance, then use :doc:`/reference/commands/logical_count` to get the number of records.
1232 * [cmake] Supported embedded Groonga with Clang. It fixed compilation failure
1233 on FreeBSD 10.1. `[MDEV-7293] <https://mariadb.atlassian.net/browse/MDEV-7293>`_
1234 [Reported by Bernard Spil]
1235 * Supported to customize plugins directory. Set `GRN_PLUGINS_DIR` environment variable.
1236
1237 Fixes
1238 ^^^^^
1239
1240 * Fixed build failure when system has an incompatible version of onigmo/oniguruma
1241 headers installed. [GitHub#276] [Patch by Akinori MUSHA]
1242 * Fixed time related build failure on MSVC [GitHub#237]
1243
1244 Thanks
1245 ^^^^^^
1246
1247 * Akinori MUSHA
1248 * Bernard Spil