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>
Reviewed: https:/ /reviews. mahara. org/2757 gitorious. org/mahara/ mahara/ commit/ e2d208acb361611 8e2ac3d7cbf1cec af7a1eafb3
Committed: http://
Submitter: Son Nguyen (<email address hidden>)
Branch: master
commit e2d208acb361611 8e2ac3d7cbf1cec af7a1eafb3
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: I43506f03b943d7 9eb019d39fe7940 37fc50bd05a
Signed-off-by: Robert Lyon <email address hidden>