Re: Filtered replication documentation

2013-11-29 Thread Jens Rantil
I just want to chime here too - indeed nice work! I'm glad I could be of any help. — Sent from Mailbox for iPhone On Fri, Nov 29, 2013 at 1:22 AM, Stanley Iriele siriele...@gmail.com wrote: A complete side note...good job on the documentation guys.. Its a one stop shop for the most

Doucment Update Conflict in Futon

2013-11-29 Thread John Norris
Hi, I have been using Futon to create views and today though I can create new views eg _design/test/_view/ where test is new, I can then not edit or create new views in test after that. I get a pop up of The document could not be saved: Document update conflict. I also had the View

Doucment Update Conflict in Futon

2013-11-29 Thread John Norris
Just to add, I notice there is a 409 error in the logs - a conflict when the _rev value is not part of the post. But I am doing this via Futon which should handle this (and has done previously). Regards, John

Re: Doucment Update Conflict in Futon

2013-11-29 Thread Robert Newson
Odd, sounds like Futon is confused. Try clearing your browser cache and reloading the page. (That or someone else is editing the document in another window) B. On 29 November 2013 09:54, John Norris j...@norricorp.f9.co.uk wrote: Just to add, I notice there is a 409 error in the logs - a

Re: CouchDB sharding orchestration

2013-11-29 Thread Jens Rantil
I was talking about general views. By ignoring, I guess you mean ignoring them in the map function? Absolutely, that would work. My only concern with that solution is that my orchestrator will have to patch the map functions when the sharding topology changes. This feels a bit hacky. I've now

Re: couchdb teporaly average view

2013-11-29 Thread Robert Newson
map: emit(doc.created, doc.value); reduce: _stats then query with startkey and endkey appropriately. This will give you the sum of all values between the two keys and the number of rows. Divide one by the other to derive mean average. This will work for startkey/endkey's that span hours, days

Re: couchdb teporaly average view

2013-11-29 Thread Simon Metson
If you split your data out into a list like [year, month, day, hour, minute] and used that as the key for the map you’d be able to query with different group levels to get averages at different granularities. On Friday, 29 November 2013 at 10:58, Robert Newson wrote: map:

Re: Rewriting query keys

2013-11-29 Thread Oliver Schmidt
Thanks, but I CouchDB complains that I don't use valid JSON. I need a composed key as an array, how can I achieve this? Am Mittwoch, 27. November 2013, 14:52:51 schrieb mart...@gmail.com: Here's an example of one I use that does something similar [ { from :

Re: CouchDB Conf Videos are up!

2013-11-29 Thread Daniel Nephin
Hey, I just noticed the links to the videos disappeared from that page, anyone know where they went? On Wed, Nov 27, 2013 at 6:24 AM, matt j. sorenson m...@sorensonbros.netwrote: Yes, on behalf of all of us hermits who don't get out of our own city very often (or in my case, out of my own