elastic/elasticsearch

Add ingest processor to percolator that rewrites queries

Open

#29,053 opened on 2018年3月14日

GitHub で見る
 (4 comments) (1 reaction) (0 assignees)Java (25,882 forks)batch import
:Search Relevance/Percolator>bugTeam:Search Relevancehelp wantedpriority:normal

Repository metrics

Stars
 (76,700 stars)
PR merge metrics
 (平均マージ 2d) (30d で 1,000 merged PRs)

説明

Follow up from #17071

The percolator needs a ingest processor that performs the QueryBuilder rewrite. At the moment the query builder rewrite happens in the PercolatorFieldMapper which means each shard copy performs this rewrite. Most of the time this isn't a problem, but in the case that a query builder does a remote fetch (geo_shape query using indexed shape) there is a chance that the query builder rewrite that each shard copy forms fetch slightly different values.

コントリビューターガイド