Hello,
I indexing my data : everything fine, but when I restart Elasticsearch, he
reindex me my data, My problem is that I have twice the same data.
Can you help me to solve this problem ?
Thanks in advance.
My code :
PUT /my_index/_mapping/user
{
"mappings" : {
"user" : {
"properties" : {
"name_user":{
"type":"string"
}
}
}
},
"settings" : {
"analysis" : {
"analyzer" : {
"str_search_analyzer" : {
"tokenizer" : "standard",
"filter" : ["lowercase", "asciifolding"]
},
"str_index_analyzer" : {
"tokenizer" : "standard",
"filter" : ["lowercase","asciifolding"]
}
},
}
}
}
PUT /_river/user/_meta
{
"type" : "jdbc",
"jdbc" : {
"url" : "my_url",
"user" : "user",
"password" : "password",
"sql" : "select name_user from user",
"index" : "my_index",
"type" : "user",
"max_bulk_requests" : 5
}
}
--
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/c74975a9-71f1-4c40-a3de-b7907be2c401%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.