It just seems I can send data to elasticsearch using the php library, so I don't seen the need to add the JDBC driver?
http://www.elasticsearch.org/guide/en/elasticsearch/client/php-api/current/_indexing_operations.html Use a CRON operation to check for items that aren't indexed, and then use the PHP library to send the non-indexed data to ES to get indexed? On Wednesday, September 10, 2014 12:21:35 PM UTC+1, vineeth mohan wrote: > > Hello James , > > I didn't fully understand your question , but i feel JDBC river might be > of any use to you - https://github.com/jprante/elasticsearch-river-jdbc > > Thanks > Vineeth > > On Wed, Sep 10, 2014 at 3:29 PM, James <[email protected] <javascript:>> > 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 [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/be682d05-bdad-45a4-8b00-2ecf26217534%40googlegroups.com >> >> <https://groups.google.com/d/msgid/elasticsearch/be682d05-bdad-45a4-8b00-2ecf26217534%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a9901f1a-2753-46d2-9113-056b8d996eb8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
