Elasticsearch 7.x not supported?
kishanravalParticipant3 years, 7 months ago #13700
While trying to connect to elastic search hosted on another server, I get this error message.
“unknown key [number_of_shards] for create index”
Can you please help in resolving the issue?kishanravalParticipant3 years, 7 months ago #13705
The Elasticsearch that I am using is version 7.2.0. Do you not support versions above 6?3 years, 7 months ago #13733
WPSOLR is using the Elastica client library to manage calls to Elasticsearch. But the state about Elasticsearch 7.x support is not clear: https://github.com/ruflin/Elastica/issues/1649michaelfairchildParticipant3 years, 7 months ago #13854
Per https://github.com/ruflin/Elastica/issues/1649#issuecomment-523792063 7.x is supported in the master branch. Is there any chance to get an updated version using the master branch? I’d be willing to test it.3 years, 7 months ago #13857
It appears that WPSOLR cannot continue to use https://github.com/ruflin/Elastica/ as its Elasticsearch php client library. Elastisearch 7.x is only a few weeks old, but Elastica’s master branch is already not retro-compatible with Elasticsearch indexes created with version 5 and 6.
An option would be to use several versions of Elastica in WPSOLR, but I suspect this would prove to be difficult. And what will happen with Elasticsearch 8.x, which is already announced as a breaking update (total removal of types)?
I will therefore investigate the replacement of Elastica by the official low-level API https://github.com/elastic/elasticsearch-php
To be honest, this is uncharted territory.3 years, 6 months ago #14025
https://www.wpsolr.com/forums/topic/release-21-6/ now supports Elasticsearch 7. (tested with Elasticsearch 7.3.1)
You must be logged in to reply to this topic.