Comment 3 for bug 1256118

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/2757
Committed: http://gitorious.org/mahara/mahara/commit/e2d208acb3616118e2ac3d7cbf1cecaf7a1eafb3
Submitter: Son Nguyen (<email address hidden>)
Branch: master

commit e2d208acb3616118e2ac3d7cbf1cecaf7a1eafb3
Author: Robert Lyon <email address hidden>
Date: Fri Nov 29 14:59:16 2013 +1300

Checking if elasticsearch can connect to host / port (bug #1256118)

Currently the getConnection() in Elastica/Client.php can give false
positive and also throws error if no connection.

What is needed is a true/false check to allow for things like notice
feedback on extensions page or giving a warning when switching to
'elasticsearch' on site options page when it is unreachable.

Change-Id: I43506f03b943d79eb019d39fe794037fc50bd05a
Signed-off-by: Robert Lyon <email address hidden>