Hello,
I have a problem with adding new documents to an index (called "map") when there is already mapping defined. When the mapping does not exist then I am able to create new documents from my Java program. Here is the mapping that blocks inserting new documents:
PUT map/_mapping/map
{
"properties" : {
"search_popularity_last_hit_date": {
"type": "date"
},
"search_popularity_last_score": {
"type": "double"
}
}
}
The Java program uses the IndexRequest class to create new documents. It looks like that it runs okay because there are no errors reported but the documents are not created at all.
Any idea what can be the problem?
Best,
Antal Nagy