couchdb - Limiting documents in temporary views -


I am playing with the map and minimizing it through temporary scenes, but it is slightly slower on more than 1,000,000 documents Is it possible to use a subset of data only in the temporary view, rather than creating a different dataset for testing? Choose from "FROM"

itemprop = "text">

Reduce a map-view "is more than" Select Index ".

In other words, when you reduce a mapview, then each document in the CouchDB.

However, for testing, one thing you can do is to develop your work in the normal view (not temporary) just a temporary design document, _design / my_experiments .

Save your map - reduce the view code and then ? Stale = update_after option you probably will not get any result, even then stale = update_after will see CouchDB to start the processing process. Now try your query again You can see the results that have been processed so far. Now try for the third time you will see more data reflected.

Speaking broadly, think about documents in the same order that a _changes query will return them to you: basically the first update is first processed , And so in order and more recent changes are processed ultimately.


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -