← Back to team overview

mahara-contributors team mailing list archive

[Bug 1384498] Re: Update Elastica to version 2.0.0

 

Okay, I've tested Elastica 2.0.0 (the latest) with Elasticsearch 1.5
(the latest) and Elasticsearch 0.9.

It did not work out of the box with Elasticsearch 0.9, because Elastica
2.0 uses the "post_filter" query parameter when you do
\Elastica\Query->set_filter(), and Elasticsearch 0.9 apparently didn't
support that yet. I was able to get it to work in both, however, by
tweaking our code so that it uses a \Elastica\Query\Filtered instead.

I'll push that up to Gerrit.

** Summary changed:

- Update Elastica to version 1.3.4
+ Update Elastica to version 2.0.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1384498

Title:
  Update Elastica to version 2.0.0

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  Used for elasticsearch - currently version 0.90.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1384498/+subscriptions


References