Hello,
I would like to know a way to manage INSERT and UPDATE ?
I am forced to delete and then re-index my data ?
Maybe there are a way to index again but without duplicate my data (INSERT)
?
Can you help with my problem ?
I use this :
PUT /_river/user/_meta
{
"type" : "jdbc",
"jdbc" : {
Hello,
I would like to know a way to manage INSERT and UPDATE ?
I am forced to delete and then re-index my data ?
Maybe there are a way to index again but without duplicate my data
(INSERT) ?
Can you help with my problem ?
I use this :
PUT /_river/user/_meta
{
"type" : "jdbc",
"jdbc" : {
On Thu, May 22, 2014 at 11:43 AM, Tanguy Bernard <bernardt...@gmail.com<javascript:>
wrote:
Hello,
I would like to know a way to manage INSERT and UPDATE ?
I am forced to delete and then re-index my data ?
Maybe there are a way to index again but without duplicate my data
(INSERT) ?
Can you help with my problem ?
I use this :
PUT /_river/user/_meta
{
"type" : "jdbc",
"jdbc" : {
Hi Jörg,
I'm facing another problem with update! I'm looking for a solution for
updating document if they have changes. When i run my query:
curl -XPUT 'localhost:9200/_river/my_jdbc_river/_meta' -d '{
"type" : "jdbc",
"jdbc" : {
"url" : "jdbc:mysql://xyz.com:3306/my_test_river_es",
"user" : "user_name",
"password" : "pass_word",
"schedule" : "0 0-59 0-23 ? * *",
"sql" : "SELECT id AS _id, id , parent_id , name FROM account_navi"
}
}'
Everything is working fine. The river insert for me the new document to ES
and it updates the documents every minutes. But I want to avoid, that ES
execute the update for existing document with no changes. When I take a
look at the ES. I see that river has updated all document.
Is there any solution for my case?
Thank you for any advice for the nice plugin
Ramy
Am Donnerstag, 22. Mai 2014 11:54:18 UTC+2 schrieb Jörg Prante:
If you use the column name _id, you can control the ID of the ES document
you created by SQL. If you do not use _id, a random doc ID is generated.
On Thu, May 22, 2014 at 11:43 AM, Tanguy Bernard <bernardt...@gmail.com
<javascript:>> wrote:
Hello,
I would like to know a way to manage INSERT and UPDATE ?
I am forced to delete and then re-index my data ?
Maybe there are a way to index again but without duplicate my data
(INSERT) ?
Can you help with my problem ?
I use this :
PUT /_river/user/_meta
{
"type" : "jdbc",
"jdbc" : {
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.