Cakephp example

Hello everyone,

I'm working on Cakephp and Elasticsearch and I'm trying to find some example of how to display index information using cakephp.

I know that there is an official Cakephp plugin called Elasticsearch but the documentation (https://book.cakephp.org/3.0/en/elasticsearch.html) is difficul for a newbie about how to use it.

If someone have already done it before I would be very grateful if he could give me some tips.

Thanks

Have you tried using Elastica PHP ?

I didn't know this php client, I will take a look on this client.

Thanks Islam_Elshobokshy.

However I'm always interested about simple tutorial/example of how to use the Cakephp elasticsearch plugin

Looking at https://book.cakephp.org/3.0/en/elasticsearch.html#searching-indexed-documents
This section of the page has provided good examples on how to index data but this above link shows how to search the data.

I would recommend that once you have a grasp of Elasticsearch then it may aid in the understanding of the above: https://www.elastic.co/guide/en/elasticsearch/reference/current/_index_and_query_a_document.html

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.