I am trying to add elastic search to a eCommerce website based on php and
MySQL platform and spend today trying to research on elastic search. I
learnt alot and have a fairly good idea on what to do. I just wanted some
guidance if my understanding of elastic search with MySQL is correct. From
what i gathered:
- Get elasticsearch, jdbc river, MySQL driver for jdbc river
- Run elasticsearch server on terminal
- Create jdbc riverusing curl command on a new terminal
- Feed the data from mysql to elasticsearch. This will ensure that all
data will also be available on elasticsearch from our database and
hopefully by setting parameter autocommit to true, everytime MySQL is
updated, elasticsearch server will also be updated
Assuming this is also hopefully correct, my question is how can i use PHP
to get the search query from front-end and get results from elasticsearch
server? I still have issues understanding this concept. Most of the
examples that i saw were either using PHP with documents-based storage or
using curl commands for searching. I want to know how i can use PHP to get
results of our search using elasticsearch.
I went through
https://github.com/jprante/elasticsearch-river-jdbc/wiki/_pages and many
other resources online and have a pretty good idea about elasticsearch. I
just need a few more things to figure out.
This is the very first time that I have read on elasticsearch and i really
like the search engine and would like to add this to the website. Would
really really appreciate some guidance on this.
Usman Ehtesham Gul
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/89988ecc-5a1e-4d3b-8ff9-26835764b33b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.