Page MenuHomePhabricator

T4446: Fix Elasticsearch support for 1.0 and above
ClosedPublic

Authored by WikiChad on May 28 2014, 8:34 PM.
Tags
None
Referenced Files
F13083848: D9321.diff
Wed, Apr 24, 10:44 PM
Unknown Object (File)
Sat, Apr 20, 6:58 PM
Unknown Object (File)
Wed, Apr 17, 12:22 PM
Unknown Object (File)
Thu, Apr 11, 9:56 AM
Unknown Object (File)
Sun, Apr 7, 6:46 AM
Unknown Object (File)
Sun, Apr 7, 5:53 AM
Unknown Object (File)
Sun, Mar 31, 11:02 AM
Unknown Object (File)
Fri, Mar 29, 12:52 AM
Subscribers

Details

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

WikiChad retitled this revision from to T4446: Fix Elasticsearch support for 1.0 and above.
WikiChad updated this object.
WikiChad edited the test plan for this revision. (Show Details)
WikiChad added a reviewer: epriestley.

Does this work prior to 1.0 too?

It should, but I'll double check.

Just tested against a fresh build of v0.90.9, worked just fine still.

epriestley edited edge metadata.

Cool, thanks!

This revision is now accepted and ready to land.May 28 2014, 10:36 PM
epriestley updated this revision to Diff 22120.

Closed by commit rPdd3dfde98360 (authored by @WikiChad, committed by @epriestley).