My question, could I use map-reduce to produce this smaller subset of new documents or would I need to write some sort of server side process (in Java, C#, Ruby, Node.js, etc) to do this?
On Sep 1, 2014, at 7:19 PM, s.ande...@gmail.com wrote:
I am working on an app where data (in the form of Couchbase documents) is received by the server, potentially lots of data.
My question, could I use map-reduce to produce this smaller subset of new documents or would I need to write some sort of server side process (in Java, C#, Ruby, Node.js, etc) to do this?
On Sep 1, 2014, at 7:19 PM, s.ande...@gmail.com wrote:I am working on an app where data (in the form of Couchbase documents) is received by the server, potentially lots of data.How is it being received exactly? Is it written into a Couchbase Server bucket, or replicated into the Sync Gateway?
My question, could I use map-reduce to produce this smaller subset of new documents or would I need to write some sort of server side process (in Java, C#, Ruby, Node.js, etc) to do this?You'll need a server-side process. Map/reduce alone won't do it because Couchbase and CouchDB consider its output (view rows) different from documents.
On Sep 2, 2014, at 6:17 PM, s.ande...@gmail.com wrote:I need to 1) exclude outliers and 2) calculate the median from the remaining data. Does the following sound like a reasonable approach?