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
Unknown Object (File)
Mon, Feb 24, 11:51 AM
Unknown Object (File)
Sun, Feb 9, 1:14 PM
Unknown Object (File)
Sun, Feb 9, 1:14 PM
Unknown Object (File)
Sun, Feb 9, 1:14 PM
Unknown Object (File)
Jan 28 2025, 6:43 AM
Unknown Object (File)
Jan 26 2025, 8:42 PM
Unknown Object (File)
Jan 24 2025, 4:06 AM
Unknown Object (File)
Jan 23 2025, 1:25 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).