Hi all;
To provide the general idea about the problem i m facing,i m giving an
example of very simple form of index generation as per the tutorial.
lets say i have created an index with some fields as;
curl -XPUT 'http://localhost:9200/twitter/tweet/1' -d '{
"user" : "admin",
"post_date" : "2009-11-15T14:12:12",
"message" : "trying out Elastic Search"
}'
I want to update the only field "user" so that it will have value as
"arien",for that i will have to do something like this
curl -XPUT 'http://localhost:9200/twitter/tweet/1' -d '{
"user" : "arien",
"post_date" : "2009-11-15T14:12:12",
"message" : "trying out Elastic Search"
}'
Now the problem with this is I want to retain valuefields for
"post_date" and "message" unchanged without providing them at the time
of updation against same index id.for ex. something like this
curl -XPUT 'http://localhost:9200/twitter/tweet/1' -d '{
"user" : "arien",
}'
but while querying(in search api) i should be getting all the 3 fields
specified in the index unlike i get only "user" field after updation
as the overridden index.
I m dealing with very large chunk of data at the time of indexing
using attachment mapper and its really an overhead to update an index
using all the fields everytime for even a small attribute change.So
please provide some suggestions regarding this.
Thanking you;
arien