Homec4science

T4446: Fix Elasticsearch support for 1.0 and above

Authored by Chad Horohoe <chadh@wikimedia.org> on May 29 2014, 00:36.

Description

T4446: Fix Elasticsearch support for 1.0 and above

Summary:
Elasticsearch 1.0 deprecated the "filter" top-level
parameter in favor of "post_filter" which is applied
after scores and so forth are calculated.

Instead search field.corpus with a term query.

Test Plan:
Tested against Elasticsearch 1.1.1, able to perform
basic queries without query parse errors.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Maniphest Tasks: T4446

Differential Revision: https://secure.phabricator.com/D9321

Details

Committed
epriestley <git@epriestley.com>May 29 2014, 00:36
Pushed
aubortJan 31 2017, 17:16
Parents
rPHc7a7574f0c8e: Remove oneline feed story
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHdd3dfde98360: T4446: Fix Elasticsearch support for 1.0 and above (authored by Chad Horohoe <chadh@wikimedia.org>).May 29 2014, 00:36