elastic/elasticsearch

Add ingest processor to percolator that rewrites queries

Open

#29,053 建立於 2018年3月14日

在 GitHub 查看
 (4 留言) (1 反應) (0 負責人)Java (25,882 fork)batch import
:Search Relevance/Percolator>bugTeam:Search Relevancehelp wantedpriority:normal

倉庫指標

Star
 (76,700 star)
PR 合併指標
 (平均合併 2天) (30 天內合併 1,000 個 PR)

描述

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.

貢獻者指南