elastic/elasticsearch
View on GitHubAdd ingest processor to percolator that rewrites queries
Open
#29,053 opened on Mar 14, 2018
:Search Relevance/Percolator>bugTeam:Search Relevancehelp wantedpriority:normal
Description
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.