I don't really see why though, can't the php library send JSON data to
elasticsearch?

On 10 September 2014 12:47, [email protected] <[email protected]>
wrote:

> You need JDBC (Java Database Connectivity) for Java.
>
> Jörg
>
> On Wed, Sep 10, 2014 at 1:30 PM, James <[email protected]> wrote:
>
>> 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]> 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].
>>>> 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
>> <https://groups.google.com/d/msgid/elasticsearch/a9901f1a-2753-46d2-9113-056b8d996eb8%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 a topic in the
> Google Groups "elasticsearch" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/elasticsearch/0dzSMbARlks/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/CAKdsXoF33zrKTRqFhr%3D%3DMG2fYFYd04kezBqEcoXgYrFuaEyT6w%40mail.gmail.com
> <https://groups.google.com/d/msgid/elasticsearch/CAKdsXoF33zrKTRqFhr%3D%3DMG2fYFYd04kezBqEcoXgYrFuaEyT6w%40mail.gmail.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/CAPng%3D3f6qkSEehuowD%3D1QVKnS2JgoGqqYjasL5gWsLkz%2Bq%3D29A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to