While creating view Couch Base will create any separate document
Mon, 02/25/2013 - 23:29
I implement this i create a view and than i modify my document in bucket. Then make the view stale as OK. After saving my view i saw my result it show my data without update. That's ok. My question is after update it showing the previous record only. So is the view data are storing some where or the updated data is going to store as new data. Please give me the solution.
Hello,
By default the index is update after your query the view for performance reason.
I am inviting you to look at this chapter of the documentation:
http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-views-writi...
This explains how the indexing works and how to force the update the index before returning the result (stale=false)
Regards
Tug
@tgrall