Re: Rename a database?

2010-02-24 Thread Michael J. I. Jackson
Seems I read something somewhere about HTTP MOVE (WebDav extension?) being supported in a former incarnation. -- Michael J. I. Jackson http://mjijackson.com/ @mjijackson On Tue, Feb 23, 2010 at 3:49 PM, Sean Hess seanh...@gmail.com wrote: I need the system to stay live the whole time, so the

Re: Rename a database?

2010-02-24 Thread Nils Breunese
Michael J. I. Jackson wrote: Seems I read something somewhere about HTTP MOVE (WebDav extension?) being supported in a former incarnation. And it being removed, because it is not an atomic operation, which yields problems when working with replication and distributed setups. There was a

Re: Rename a database?

2010-02-24 Thread Brian Candler
On Wed, Feb 24, 2010 at 08:31:10AM -0700, Michael J. I. Jackson wrote: Seems I read something somewhere about HTTP MOVE (WebDav extension?) being supported in a former incarnation. Was for documents, not databases, IIRC.

OT: list archive permalinks (was: Re: Rename a database?)

2010-02-24 Thread Rhett Sutphin
Hi, On Feb 24, 2010, at 9:41 AM, Nils Breunese wrote: Sadly the mailinglist archives doesn't provide permalinks as far as I can see, but you should be able to find this thread when starting from http://mail-archives.apache.org/mod_mbox/couchdb-user/201002.mbox/browser (subject 'HTTP MOVE',

Re: Rename a database?

2010-02-24 Thread Sean Clark Hess
Would it be hard to add for databases? Maybe just have couch do the system mv command under the hood? On Wed, Feb 24, 2010 at 8:57 AM, Brian Candler b.cand...@pobox.com wrote: On Wed, Feb 24, 2010 at 08:31:10AM -0700, Michael J. I. Jackson wrote: Seems I read something somewhere about HTTP

Re: Rename a database?

2010-02-24 Thread J Chris Anderson
On Feb 24, 2010, at 8:13 AM, Sean Clark Hess wrote: Would it be hard to add for databases? Maybe just have couch do the system mv command under the hood? I'd be +1 on this. It might not be completely atomic (renaming both the database and view files) but it could be considered an

revs_info param no longer working with _all_docs query

2010-02-24 Thread Jens Alfke
I'm updating CouchObjC, an Objective-C/Cocoa adapter for CouchDB (my fork is here.) It was last updated a year ago and seems to have some incompatibilities with CouchDB 0.10, judging by the unit-test failures. One of the failures I can't figure out is that it sends a query for all design docs

Several newbie CouchDB questions.

2010-02-24 Thread Time Less
I am looking at CouchDB as a possible database for a future feature in Firefox. However, I'm having trouble locating a good document for architecture and to answer questions about (for example) how node failure is handled. Of course I also have questions about data storage, backups, recovery, etc.

Re: Several newbie CouchDB questions.

2010-02-24 Thread Markus Jelsma
Time Less said: I am looking at CouchDB as a possible database for a future feature in Firefox. However, I'm having trouble locating a good document for architecture and to answer questions about (for example) how node failure is handled. Of course I also have questions about data storage,

Re: Several newbie CouchDB questions.

2010-02-24 Thread Time Less
At the highest level: Suppose I want to set up a database cluster. Suppose I want to distribute the data across many nodes At this moment you would need lounge indeed. Unfortunately, there isn't really good documentation on how it actually works and why it works like that. There is,

Re: Several newbie CouchDB questions.

2010-02-24 Thread Markus Jelsma
Actually, on some level it does deal with node failure and cluster changes. Failures are being handled gracefully. Once you have decent sharded cluster installed, you can actually shut nodes down (as if it's a failure) and keep it running. I have a test setup with 4 virtual machines, each running

Re: Several newbie CouchDB questions.

2010-02-24 Thread Randall Leeds
Hey, Glad to see more conversation like this popping up. I've been working with Markus as well as a couple other people in the community who have approached me individually with Lounge questions or problems. Markus is right: oversharding [M shards, N nodes | M N] allows you to grow and shrink

Re: Several newbie CouchDB questions.

2010-02-24 Thread Randall Leeds
Looks like #lounge on Freenode is uninhabited. I will be idling there from now on. Please join me. On Feb 24, 2010 1:49 PM, Randall Leeds randall.le...@gmail.com wrote: Hey, Glad to see more conversation like this popping up. I've been working with Markus as well as a couple other people in

Re: revs_info param no longer working with _all_docs query

2010-02-24 Thread J Chris Anderson
On Feb 24, 2010, at 8:56 AM, Jens Alfke wrote: I'm updating CouchObjC, an Objective-C/Cocoa adapter for CouchDB (my fork is here.) It was last updated a year ago and seems to have some incompatibilities with CouchDB 0.10, judging by the unit-test failures. One of the failures I can't

Order posts by most recently commented on?

2010-02-24 Thread Travis LaDuke
Hello, I'm trying to make a very simple forum, which is like a very simple blog, except anyone can start a topic. The other small difference is that I need to list topics in order of when they were last replied to (commented on) instead of when the topic was created. You know how a forum works. I

Re: Order posts by most recently commented on?

2010-02-24 Thread Jens Alfke
On Feb 24, 2010, at 3:34 PM, Travis LaDuke wrote: I need to list topics in order of when they were last replied to (commented on) instead of when the topic was created. You know how a forum works. I can't figure out any combination of map/reduce/list that works. Is it possible? You could add

Re: Order posts by most recently commented on?

2010-02-24 Thread David Goodlad
On Thu, Feb 25, 2010 at 10:34 AM, Travis LaDuke travislad...@gmail.com wrote: Hello, I'm trying to make a very simple forum, which is like a very simple blog, except anyone can start a topic. The other small difference is that I need to list topics in order of when they were last replied to

Re: Order posts by most recently commented on?

2010-02-24 Thread Travis LaDuke
On Wed, Feb 24, 2010 at 4:24 PM, David Goodlad da...@goodlad.ca wrote: If you have comments stored as individual docs, with an associated topic doc on each, you could use a map function like: function(doc) {  if(doc.type == 'comment') {    emit(doc.post_time, {id: doc.topic_id});  } }

Re: Order posts by most recently commented on?

2010-02-24 Thread Travis LaDuke
On Wed, Feb 24, 2010 at 4:12 PM, Jens Alfke j...@mooseyard.com wrote: You could add a lastCommentDate property to each topic's document, and update it whenever you add a comment. You'll need to resolve conflicts if you try to update the date but someone else just updated it before you did.

Re: Order posts by most recently commented on?

2010-02-24 Thread Adam Wolff
Couch just doesn't handle this well. You can either reduce to the last comment date for each topic and sort application-side, or you can go update the topic document. One good thing if you choose the latter: if you stipulate that updating the topic always updates the lastCommentDate, then you can

Re: Order posts by most recently commented on?

2010-02-24 Thread Adam Wolff
You'd have a two-step submitComment process, where you first submit the comment, then go retrieve and update the topic document. Depending on what else you might do to the topic document, you could possibly ignore conflicts when you try to update the topic document -- by definition it's been

Re: Windows 0.11 snapshot

2010-02-24 Thread Daniel Alexiuc
The first time I downloaded it I got a checksum error - second time the download failed. Can someone please mirror these files? I'm not having any luck downloading them. Daniel On Thu, Feb 25, 2010 at 11:18 AM, Mark Hammond mhamm...@skippinet.com.auwrote: Hi all, With 0.11 not far away,

Re: Windows 0.11 snapshot

2010-02-24 Thread Nicholas Orr
updated http://temp.zxtest.com 2010/2/25 Daniel Alexiuc dan...@alexiuc.com The first time I downloaded it I got a checksum error - second time the download failed. Can someone please mirror these files? I'm not having any luck downloading them. Daniel On Thu, Feb 25, 2010 at 11:18 AM,

Couchio Party

2010-02-24 Thread J Chris Anderson
Couchers, Couchio, the CouchDB company founded by Damien, Jan and myself is having a party on Friday in Downtown Oakland. The full information is here: http://blog.couch.io/post/395584491/couchio-open-house-2-26-10 We'd love to have you help warm up our new office. I know there are a lot of

mixing couchdb views and lucene fulltext indexing

2010-02-24 Thread km
Hi all, Is it possible to call couchdb views in couchdb-lucene index functions and vice versa ? 1) I have a set of car type documents with JSON structure as {_id:someid, name:car1, type:car, year:2000,price:40, ...} I do a full text indexing (including all the keys) of car type documents

Re: mixing couchdb views and lucene fulltext indexing

2010-02-24 Thread Robert Newson
I'm afraid it's not possible (anyone that thinks they can solve this, please speak up!) couchdb-lucene allows Javascript functions specifically so you can duplicate code from your normal couch views so you can achieve the illusion of joins without the (imho) intractable performance issues that

Re: Windows 0.11 snapshot

2010-02-24 Thread Daniel Alexiuc
Thanks very much! On Thu, Feb 25, 2010 at 12:48 PM, Nicholas Orr nicholas@zxgen.netwrote: updated http://temp.zxtest.com 2010/2/25 Daniel Alexiuc dan...@alexiuc.com The first time I downloaded it I got a checksum error - second time the download failed. Can someone please mirror

couchdb 0.11 authentication and proxy ?

2010-02-24 Thread km
Hi all, I would like to test the new changes in upcoming 0.11 where can I find the docs related to user authentication and proxy setup ? any pointers ? thanks, Krishna