I want to close this issue but I still do not understand if I should be pushing documents from my database using the PHP client or using the JDBC river to pull them into elasticsearch from the SQL database.
They can both achieve the same thing, but what is the usecase which defines when is the right time to use each implementation. On Wednesday, September 10, 2014 10:59:18 AM UTC+1, James wrote: > > Hi, > > I'm setting up a system where I have a main SQL database which is synced > with elasticsearch. My plan is to use the main PHP library for > elasticsearch. > > I was going to have a cron run every thirty minuets to check for items in > my database that not only have an "active" flag but that also do not have > an "indexed" flag, that means I need to add them to the index. Then I was > going to add that item to the index. Since I am using taking this path, it > doesn't seem like I need the JDBC driver, as I can add items to > elasticsearch using the PHP library. > > So, my question is, can I get away without using the JDBC driver? > > James > > > -- 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6c244e00-1f89-447d-8eb5-114f0b5efcbd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.