groonga Changelog

New in version 4.0.0

February 11th, 2014
  • Improvements:
  • [normalizer] Supported to show "checks" which is used for calculating next character position. Use WITH_CHECKS flag to enable this feature.
  • [deb] Dropped Ubuntu 13.04 support.
  • Fixes:
  • Fixed a crash bug that an object in grn_expr is used after it is freed. Normally Groonga server users aren't affected this bug. This bug mainly affects Rroonga users. Because this bug is occured by specifying column name including pseudo column name - such as '_key' - Rroonga users may use the usage.
  • Fixed not to execute unexpected cascade delete which is introduced Groonga 3.0.8 release. If source's range and index's domain are different, Groonga doesn't execute cascade delete. [groonga-dev,02073] [Reported by yoku]
  • Fixed not to publish grn_snip structure. Use grn_obj instead of grn_snip. If you use grn_snip_close, please replace grn_snip_close to grn_obj_close.
  • [snippet_html] Fixed a crash bug when --query is empty. [groonga-dev,02097] [Reported by Naoya Murakami]
  • [snippet_html] Fixed to suppress ALERT level message when contents of column is empty text. [groonga-dev,02097] [Reported by Naoya Murakami]
  • [groonga-httpd] Fixed a bug "off" is used as path name in groonga_query_log_path. [groonga-dev,02113] [Reported by Ryoji Yamamoto]

New in version 3.1.2 (January 30th, 2014)

  • Improvements:
  • [doc] Updated to caplitalized "Groonga" terms in documentation. [Patch by cosmo0920] [GitHub#136, #137, #138, #139, #140, #141, #142, #143, #144, #145, #146, #147, #148, #149, #150, #151]
  • Supported to customize the value of lock timeout. See Global configurations about details. [groonga-dev,02017] [Suggested by yoku]
  • [doc] Added description about the value of lock timeout.
  • Enabled GRN_JA_SKIP_SAME_VALUE_PUT by default. In the previous releases, the value of this configuration is 'no'. This change affects reducing the size of Groonga database.
  • Supported multiple indexes including a nested index and multiple keywords query. This change improves missing search results isssue when narrowing down by multiple keywords query.
  • Added API to customize normalizer for snippet.
  • Fixes:
  • Fixed not to use index for empty query. This change enables you to search even though empty query. Note that this means that there is performance penalty if many empty records exist. [groonga-dev,02052] [Reported by Naoya Murakami]
  • Fixed the behaviour about return value of "X || Y" and "X && Y" for adjusting to ECMAScript. In "X || Y" case, if either X or Y satisfy the condition, it returns X itself or Y itself instead of 1 or 0.
  • In "X && Y" case, if X and Y satisfy the condition, it returns X itself instead of 1. if X doesn't satisfy the condition, it returns false instead of 0.
  • Fixed to return null when no snippet is found. This change enables you to set the default value of snippet_html. In such a purpose, use "snippet_html(XXX) || 'default value'".

New in version 3.1.1 (December 30th, 2013)

  • Improvements:
  • [deb] Refined Groonga packages for Debian policy. [groonga-dev,01930] [Suggested by Hideki Yamane]
  • [deb] Dropped Debian 6.0 (squeeze) support.
  • [deb] Dropped Ubuntu 10.04 (lucid) support.
  • Supported geo_in_rectangle in the whole world.
  • Supported error report when failed to casting invalid value of geo point type.
  • Exported some macros which is used for accessing pseudo column names. [groonga-dev,1999] [Suggested by whombx]
  • [doc] Refined drilldown documentation. [Reported by @Yahppo]
  • Supported between function which is used for filtering the column value in specific range.
  • [doc] Updated Travis CI envrinment information. [Patch by cosmo0920]
  • [rpm][fedora] Dropped Fedora 19.
  • [rpm][fedora] Supported Fedora 20.
  • [doc] Updated "Groonga" notation. [Patch by cosmo0920] [GitHub#122, #123, #124, #125, #125, #126, #127, #128, #129, #130, #131, #131, #132, #133, #134]
  • Fixes:
  • [munin] Fixed the wrong port number which is specified for GQTP.
  • [geo_in_circle] Fixed a bug that if you specify "LONGITUDExLATITUDE" as the 3rd argument of geo_in_circle, Groonga crashes.

New in version 3.1.0 (November 30th, 2013)

  • Improvements:
  • [experimental] Supported an option to skip updating for the same value. It is enabled by setting GRN_JA_SKIP_SAME_VALUE_PUT=yes as environment variable.
  • Improved to show tokenizer and original text in empty token warning message. It shows actual token, so it helps you to investigate token related issue.
  • Dropped broken AIO support. [#2054] [Reported by sho MINAGAWA]
  • [windows] Supported build with Visual Studio Express 2008. [#1964 the 21th comment] It is aimed to promote bundling Mroonga with MariaDB in the future.
  • Fixes:
  • Fixed a bug that type of "_value" column is treated as Int32. It causes the case that the value of "_value" column is casted unexpectedly. [Reported by Genki Takiuchi]
  • Fixed to require GLib 2.14.0 or later for benchmark program. The benchmark program is changed to use GRegex which requires GLib 2.14.0 or later. It affects users who compile Groonga with '--enable-benchmark' configuration. [groonga-dev,01890] [Reported by WING]
  • Fixed a memory leak on updating an empty column vector with the same value.
  • Fixed a memory leak on updating index for column vector. It affects the case if you store the value of column which has invalid UTF-8 byte sequence.
  • [plugin][windows] Fixed the issue that register command fails without 'lib/groonga/plugins'. [Reported by @yito]

New in version 3.0.9 (October 29th, 2013)

  • Improvements:
  • [doc][httpd] Added documentation about groonga_database_auto_create directive.
  • [httpd] Added groonga_cache_limit directive.
  • [doc] Added description why zlib/lzo compression are disabled by default. [groonga-dev, 01845] [Suggested by Naoya Murakami]
  • Remove a restriction related to RLIMIT_NOFILE on HTTP server. It enables HTTP server process to handle over 4096 files.
  • [experimental] Added some API to integrate mruby into groonga. [GitHub#109, #110, #111, #112, #113, #114, #115, #116, #117, #118] [Patch by wanabe]
  • [travis] Supported CMake build on Travis-CI.
  • [doc] Added documentation about Tuning.
  • [experimental] Added ruby_load command.
  • [httpd] Supported multiple buffered body of POST request. The load command caused timeout in such a case. [GitHub #120] [Patch by Motoi Washida]
  • [gqtp] Supported error message. The body is changed to return raw text insted of double quoted text. This is incompatible changes.
  • [http] Supported "400 Bad request" for invalid argument error.
  • [doc] Added examples for Completion
  • Supported Ubuntu 13.10 (Saucy Salamander).
  • Fixes:
  • Fixed a bug that it cause SEGV by arithmetic overflow. This problem occurs when the size of indexes exceeds the size of virtual memory. [groonga-dev,01661] [Reported by Naoya Murakami]
  • Fixed needless lock for creating table. This change fixes a performance regression instroduced at Groonga 3.0.5.
  • Fixed a bug that database which has reference column can't be removed. It affects the case that indexed tables/columns and referenced tables are removed at first, then remove operation to index columns and reference columns fails. [Reported by Eito Katagiri] [GitHub Rroonga #13]
  • Fixed a bug that removing database which uses DAT key may remain garbage.
  • [http] Fixed a small memory leak which is caused by shared HTTP header buffer in the same worker thread.
  • [httpd] Fixed a bug that groonga_database_auto_create parameter isn't inherited. It means that these parameters are just ignored in non location blocks.
  • Fixed a bug that status command may returns invalid cache hit rate.
  • Fix a bug that casting to Time may causes overflow issue. It affects the case that assignment of the Time value which indicate over 32bit value.

New in version 3.0.8 (September 30th, 2013)

  • Improvements:
  • [admin] Improved error handling of select functionality. This change shows error message and hides loading dialog. [Patch by orangain]
  • [admin] Improved to submit search form with the enter key. [Patch by orangain]
  • [admin] Improved to show placeholder in search form. This change shows usage examples. [Patch by orangain]
  • [httpd] Supported groonga_query_log_path directive
  • [doc] Updated select documentation about the number of hits in select response.
  • Improved to ignore an empty token which is generated by continuous spaces from tokenizer. [groonga-dev,01729] [Suggested by Naoya Murakami]
  • [token delimit] Improved to treat continuous spaces as a space. The tokenizer regards 2 or more spaces are valid input.
  • [doc] Added note about indexes for each column vs indexes for multiple column.
  • [doc] Added language annotation to source label. [groonga-dev,01751] [Suggested by Kazuhiro Isobe]
  • Supported Cascade delete to referenced records. In previous version, You got an error for the operation.
  • [doc] Updated documentation location in README. [groonga-dev,01800] [Reported by Kazuhiro Isobe]
  • [experimental] Added ruby_eval command.
  • [doc] Added note about GQTP and HTTP for server use. [groonga-dev,01810] [Reported by Kazuhiro Isobe]
  • Fixes:
  • [admin] Fixed a bug that add value button of COLUMN_VECTOR does not work.

New in version 3.0.7 (August 30th, 2013)

  • Improvements:
  • [doc] Added API documentation. [groonga-dev,01593] [GitHub#79,#80,#81,#82,#83,#84,#85,#86,#87,#88,#89,#90,#91,#92,#93,#95,#96,#97,#98,#99,#100] [Patch by whombx]
  • [table_remove] Improved not to remove patricia trie table or hash table
  • which is still referenced. This change avoids that referenced table is removed accidentally.
  • Improved to just ignore too long token (4096 bytes or more). This change affects when it is registered. In the previous version, it is treated as an error instead of a warning. [groonga-dev,01571] [Suggested by Naoya Murakami]
  • Improved to show actual discarded posting term in log message. [groonga-dev,01621] [Reported by Naoya Murakami]
  • [httpd] Supported loading data using POST method. [GitHub#101] [Patch by Motoi Washida]
  • [httpd] Supported groonga log as groonga_log_path directive.
  • [httpd] Supported groonga log level as groonga_log_level directive.
  • [httpd] Supported customizing cache limit as groonga_cache_limit directive.
  • Fixes:
  • Fixed a bug that error in expression may cause stack overflow. This change avoids that groonga crashes suddenly as a result of error accumlation.
  • Fixed a crash bug that offline index construction for vector column which has orphan reference causes.
  • Fixed a but that groonga doesn't exit on error while daemon mode starts. For example, groonga -d /tmp/non-existence.db reproduce this bug.
  • [dump] Fixed a bug that wrong table type is dumped. This bug occurs when table type is TABLE_PAT_KEY and key is reference type.
  • Fixed a bug that the default --cache-limit value is 0. The default value is changed to '100'.
  • Fixed a memory leak when sub_filter is used.
  • [doc] Fixed description of defrag command. [Reported by @naoina]
  • [doc] Fixed description about the way to contribute. [GitHub#77] [Patch by Masafumi Yokoyama]
  • [plugin] Fixed a crash bug on multiple DB open case. This bug affects the case that multiple plugin is used and the same database is opened from multiple process. [groonga-dev,01596] [Reported by Naoya Murakami]
  • Fixed a bug that nested match operation after AND operator doesn't work. The select ... --filter '... && nested.column @ "keyword"' query reproduces this bug. [groonga-dev,01599] [Reported by Motoi Washida]
  • [doc] Fixed a typo about documentation of special characters. [Reported by Genki Takiuchi]
  • Fixed a typo in error message when invalid character is given. [Reported by YOSHIDA Mitsuo]

New in version 3.0.6 (July 30th, 2013)

  • Improvements:
  • [doc] Added documentation about parameter of sub_filter function.
  • [suggest] Supported 0MQ 3.x. [GitHub#63] [Reported by Naoya Inada]
  • Added availability check for NetBSD about pthread_{mutex,cond}attr_setpshared() [Reported by OBATA Akio]
  • Supported backslash escape in query syntax. [groonga-dev,01520] [Reported by Kouhei Tanabe]
  • [rpm][fedora] Supported Fedora 19.
  • [rpm][fedora] Dropped Fedora 18 support.
  • [httpd] Updated bundled nginx version to 1.4.2.
  • Fixes:
  • Fixed a crash bug when specific internal function (grn_obj_path()) is called for built-in proc function such as select. [Reported by Genki Takiuchi]

New in version 3.0.5 (June 29th, 2013)

  • Improvements:
  • [doc] Added summary about match_column and query_string parameters in query().
  • Added subrecord information to table inspection.
  • Supported single quoted string literal in output_columns expression. This means that "XXX, '...'" expression is supported.
  • [doc] Added notification about root privileges and well known port when starting groonga server. [Reported by Kosuke Asami]
  • [experimental] Added html_untag function.
  • Fixes:
  • Fixed a crash bug of mroonga which is caused by missing lock for table creation. [Reported by Y.Kentaro]
  • Fixed a lot of compilation warnings by clang and gcc.
  • Fixed a bug that sub_filter(...) is ignored if you use "XXX && sub_filter(...)" expression.
  • Fixed a bug that wrong tag name is used in XML output. This bug affects the case if you use "REFERENCE_VECTOR_COLUMN._key" expression for output_columns. Reference column isn't contained in XML ouput.
  • [doc] Fixed wrong arguments in sub_filter() documentation.
  • [deb] Fixed a bug that status action returns wrong exit code when services are stopped. [GitHub#62] [Patch by @orangain]
  • Fixed a bug that the value of arithmetic operation is broken. This bug affects the case if you assign calculated value to _score pseudo column for example.