HomePhabricator

T4446: Fix Elasticsearch support for 1.0 and above

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

Provenance
WikiChadAuthored on
epriestleyCommitted on May 28 2014, 10:36 PM
epriestleyPushed on May 28 2014, 10:36 PM
Reviewer
Blessed Reviewers
Differential Revision
D9321: T4446: Fix Elasticsearch support for 1.0 and above
Parents
rPc7a7574f0c8e: Remove oneline feed story
Branches
Unknown
Tags
Unknown

Event Timeline