It's a bug fix release of 5.0.1.
[logical_range_filter] Supported filter and sort.
Supported range search by multiple column index.
Added API Overview document for users who want to use Groonga as library.
[incompatible] Changed internal type of _score to floating point number from 32bit integer number. This is incompatible change for DB API users. This isn't incompatible change for query API users. It means that users who just use select aren't affected. Use the following code that works with both older and newer Groonga:
grn_obj *score;
double score_value;
if (score->header.domain == GRN_DB_FLOAT) {
score_value = GRN_FLOAT_VALUE(score);
} else {
score_value = (double)GRN_INT32_VALUE_FLOAT_VALUE(score);
}
[select] Added more strict check for invalid drilldown parameter.
Added grn_ctx_get_all_tables(). [Suggested by Masatoshi Teruya]
Supported to customize score function. See Scorer for details.
[incompatible] Custom score function feature introduced API and ABI incompatibilities in DB API layer. If you're using grn_search_optarg, please check that your code initializes your grn_search_optarg by 0 like the following:
grn_search_optarg options;
memset(&options, 0, sizeof(grn_search_optarg));
If your code do the above thing, your code is API compatible and ABI incompatible. You just need to rebuild your code without modification.
If your code doesn't the above thing, you need to added the above thing to your code.
Added the following predicates that check grn_obj type to DB API:
[experimental] Supported skipping posting list when searching popular term and rare term at the same time. It will improve performance. Set GRN_II_CURSOR_SET_MIN_ENABLE environment variable to 1 to enable the feature. The feature is disabled by default.
[doc] Added in_values document.
[doc] Added logical_count document.
[mruby] Implemented custom #inspect method. Is is useful for debugging.
Added scorer_tf_at_most scorer. It limits not to exceed specified score regardless of term frequency.
[mruby] Supported estimating matched records for selecting index search or sequential search.
Added the following functions to estimate size by index:
Added missing NormalizerAuto availability check. [GitHub#283] [Reported by Tasuku SUENAGA]
Dropped Visual Studio 2010 support.
[experimental][mecab] Supported chunked tokenization. This feature is a workaround for MeCab's "too long sentense" error. Specify yes to GRN_MECAB_CHUNKED_TOKENIZE_ENABLED environment variable to enable it. By this configuration, Groonga splits a long text (8192 bytes over text by default) into small chunks and passes each chunk to MeCab. By this process, the above error isn't occurred. Additionally, you can customize chunk threshold bytes by GRN_MECAB_CHUNK_SIZE_THRESHOLD environment variable. Note that ,, ., !, ?, U+3001 IDEOGRAPHIC COMMA, U+3002 IDEOGRAPHIC FULL STOP, U+FF01 FULLWIDTH EXCLAMATION MARK and U+FF1F FULLWIDTH QUESTION MARK are treated as chunk delimiter characters.
Supported --pid-file in server mode of groonga executable file.
[groonga-httpd] Supported graceful stop to clean Groonga. It doesn't terminate the open connections immediately.
[experimental] Supported regular expression. See Regular expression to know about how to use regular expression.
[experimental] Added plugin_unregister command.
[http][load] Added "," as chunk separator in POST data. It decreases internal buffer size and improves load time when POST data don't include any new line.
[doc] Added Tokenizers document.
Improved POSIX.2 compatibility by using . as bash's "source" command replacement. [GitHub#317] [Patch by Jun Kuriyama]
[windows] Changed to the default IO version 1. It reduces disk usage on Windows. [groonga-dev,03118] [Tested by ongaeshi]
[httpd] Updated bundled nginx version to the latest mainline (1.7.11).
Changed mime-type for TSV output to text/tab-separated-values from text/plain.
[TokenFilterStopWord] Supported Offline index construction. [GitHub#296] [Patch by Naoya Murakami]