OpenSearch/qa
Martijn van Groningen b4048b4e7f
Use CoveringQuery to select percolate candidate matches and
extract all clauses from a conjunction query.

When clauses from a conjunction are extracted the number of clauses is
also stored in an internal doc values field (minimum_should_match field).
This field is used by the CoveringQuery and allows the percolator to
reduce the number of false positives when selecting candidate matches and
in certain cases be absolutely sure that a conjunction candidate match
will match and then skip MemoryIndex validation. This can greatly improve
performance.

Before this change only a single clause was extracted from a conjunction
query. The percolator tried to extract the clauses that was rarest in order
(based on term length) to attempt less candidate queries to be selected
in the first place. However this still method there is still a very high
chance that candidate query matches are false positives.

This change also removes the influencing query extraction added via #26081
as this is no longer needed because now all conjunction clauses are extracted.

https://www.elastic.co/guide/en/elasticsearch/reference/6.x/percolator.html#_influencing_query_extraction

Closes #26307
2017-11-10 07:44:42 +01:00
..
evil-tests Die with dignity while merging 2017-11-06 17:55:11 -05:00
full-cluster-restart remove _primary and _replica shard preferences (#26791) 2017-10-08 11:03:06 -04:00
mixed-cluster Increase logging on qa:mixed-cluster tests 2017-11-09 15:18:53 +01:00
multi-cluster-search Fix serialization errors when cross cluster search goes to a single shard (#26881) 2017-10-04 22:39:14 +02:00
no-bootstrap-tests Remove the single argument Environment constructor (#27235) 2017-11-04 13:25:09 +00:00
query-builder-bwc Test query builder bwc against previous supported versions instead of just the current version. 2017-10-09 13:22:01 +02:00
reindex-from-old Revert shading for the low level rest client (#26367) 2017-08-25 14:13:12 -05:00
rolling-upgrade Use CoveringQuery to select percolate candidate matches and 2017-11-10 07:44:42 +01:00
smoke-test-client Use nio transport in test clusters (#25986) 2017-08-01 16:19:31 -05:00
smoke-test-http Deguice ActionFilter (#26691) 2017-09-20 10:30:21 +02:00
smoke-test-ingest-disabled Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
smoke-test-ingest-with-all-dependencies Add support for parsing inline script (#23824) (#26846) 2017-10-11 09:15:37 -07:00
smoke-test-multinode Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
smoke-test-plugins Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
smoke-test-reindex-with-all-modules Update by Query is modified to accept short `script` parameter. (#26841) 2017-10-11 21:57:46 +00:00
smoke-test-tribe-node Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
vagrant [Docs] "The the" is a great band, but ... (#26644) 2017-09-14 15:08:20 +02:00
verify-version-constants Fix docs lucene version check error message 2017-06-26 15:45:13 -07:00
wildfly Revert shading for the low level rest client (#26367) 2017-08-25 14:13:12 -05:00