wiki:ReleaseOverview/1.4.13

Release Overview for 1.4.13

This page contains a high level description of the most notable changes in this release. For full details of user-visible changes, see the NEWS files in each module:

See also the full list of bug reports marked as fixed in this release.

C++ API

  • MSet::get_matches_estimated(): Improve rounding of result - a bug meant we would almost always round down.

Test Harness

  • Support testcases using a multi database comprised of one local and one remote shard, or two remote shards. Implemented by Tanmay Sachan.

Matcher

  • Optimise OP_AND_NOT better. We now combine its left argument with other connected and-like subqueries, and gather up and hoist the negated subqueries and apply them together above the combined and-like subqueries, just below any positional filters.
  • Optimise OP_AND_MAYBE better. We now combine its left argument with other connected and-like subqueries, and gather up and hoist the optional subqueries and apply them together above the combined and-like subqueries and any hoisted positional filters.
  • Treat all BoolWeight queries as scaled by 0 - we can optimise better if we know the query is unweighted.

glass backend

  • Only try to compress Btree item values > 18 bytes, which saves CPU time without sacrificing any significant size savings.

remote backend

  • Fix match stats when searching with collapsing over multiple shards and at least some shards are remote. Bug discovered by Tanmay Sachan's test harness improvements.
  • Ignore orphaned remote protocol replies which can happen when searching with a remote shard if an exception is thrown by another shard. Bug discovered by Tanmay Sachan's test harness improvements.

Bindings

  • Omit SWIG exception handling for destructors. Since C++11, destructors can't throw by default and we don't override that default, so there's no point adding exception handling code for them.

Omega

  • Document that $log will start to return an error message in 1.5.0, and that one can wrap it using a $if with no action now to be future-proof. Our own templates now wrap $log like this.
  • scriptindex: Add new gap action which provides a way to leave a gap in the term positions between fields to prevent phrases and positional operators from matching across fields.
Last modified 5 years ago Last modified on 10/14/19 03:14:33
Note: See TracWiki for help on using the wiki.