Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

While creating view Couch Base will create any separate document

1 reply [Last post]
  • Login or register to post comments
Mon, 02/25/2013 - 23:29
Gopinath
Offline
Joined: 02/21/2013
Groups: None

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.

Top
  • Login or register to post comments
Wed, 02/27/2013 - 11:38
tgrall
Offline
Joined: 09/05/2012
Groups: None

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

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker