[Patch] striped queries/faceted search

2009-02-10 Thread Frederik Fix
Hi all, for the project I'm working on right now, I needed the ability to run a reduce over non-continuous ranges along the index. In order to achieve this I have implemented striped queries, where you can specify multiple startkey/endkey ranges in a single request. As a nice side effect

[jira] Updated: (COUCHDB-244) Striped queries

2009-02-10 Thread Frederik Fix (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frederik Fix updated COUCHDB-244: - Attachment: striped_queries.diff Striped queries --- Key:

Re: [Patch] striped queries/faceted search

2009-02-10 Thread Frederik Fix
Just noticed that the attachment got stripped. I've added an issue to JIRA here: https://issues.apache.org/jira/browse/COUCHDB-244 Frederik On 10 Feb 2009, at 13:00, Jan Lehnardt wrote: Hi Frederik, On 10 Feb 2009, at 11:54, Frederik Fix wrote: The patch is against the current trunk

[jira] Created: (COUCHDB-244) Striped queries

2009-02-10 Thread Frederik Fix (JIRA)
Striped queries --- Key: COUCHDB-244 URL: https://issues.apache.org/jira/browse/COUCHDB-244 Project: CouchDB Issue Type: New Feature Components: Database Core Reporter: Frederik Fix Attachments:

Re: Stats Patch API Discussion

2009-02-10 Thread Damien Katz
On Feb 10, 2009, at 10:19 AM, Jan Lehnardt wrote: Hi, Alex and I are working on our stats package patch and the last bigger issue is the API. It is just exposing a bunch of values by keys, but as usual, the devil is in the details. Let me explain. There are two types of counters. Hit

Re: Stats Patch API Discussion

2009-02-10 Thread Jan Lehnardt
On 10 Feb 2009, at 16:47, Zachary Zolton wrote: Jan, So you're saying I could run some test, and then hit: GET /_stats/couchdb/request_time?range=$SOME_MINUTES And then, make some changes, and run the same test: GET /_stats/couchdb/request_time?range=$SOME_MINUTES To detect the modulo in

Eunit

2009-02-10 Thread Jan Lehnardt
Hi, the previously mentioned stats patch introduces EUnit*-style unit tests for Erlang code. I believe this is useful for the rest of CouchDB as well. There is a simple test runner in test/ that includes a few tests for the couch_config* modules but that was never meant to be a permanent

Re: Roadmap discussion

2009-02-10 Thread Paul Davis
On Tue, Feb 10, 2009 at 11:46 AM, Kerr Rainey kerr.rai...@gmail.com wrote: Is there still interest in stabilising a native erlang interface? -- Kerr Definitely. I was contemplating this a bit the other day. I wonder if it wouldn't be beneficial to create a couch_api.erl and just define an

Re: Eunit

2009-02-10 Thread Gianugo Rabellino
On Tue, Feb 10, 2009 at 5:52 PM, Jan Lehnardt j...@apache.org wrote: The one caveat with EUnit is that it is released under the LGPL. I am not a lawyer but the consensus on The Net is that writing test-cases against the EUnit API and conditionally including eunit.hrl to include the API does

Re: Roadmap discussion

2009-02-10 Thread Kevin Jackson
* Full Text Search interface - We've had basically working patches for this floating around for a while. - It seems simple enough, we just need someone who comfortable in Java to step up to the plate and write a Lucene adapter. (Thanks!) I'm more than happy to look at this when I get time, I've

Re: Roadmap discussion

2009-02-10 Thread Robert Newson
I've made some progress on this, fwiw; http://github.com/rnewson/couchdb-lucene B. On Tue, Feb 10, 2009 at 12:27 PM, Kevin Jackson foamd...@gmail.com wrote: * Full Text Search interface - We've had basically working patches for this floating around for a while. - It seems simple enough, we

Re: 0.9.0 Delay or Release?

2009-02-10 Thread Zachary Zolton
@Kerr that 0.9 does not imply next release is 1.0. Yeah, I was originally confused by that too! But, then I re-read this: http://en.wikipedia.org/wiki/Software_versioning#Software_versioning_schemes And, now I'm cool as a cucumber, WRT having 0.10 or even 0.1000...! LOL, it helps when I

Re: Roadmap discussion

2009-02-10 Thread Chris Anderson
On Tue, Feb 10, 2009 at 8:53 AM, Paul Davis paul.joseph.da...@gmail.com wrote: On Tue, Feb 10, 2009 at 11:46 AM, Kerr Rainey kerr.rai...@gmail.com wrote: Is there still interest in stabilising a native erlang interface? -- Kerr Definitely. I was contemplating this a bit the other day. I

Re: Eunit

2009-02-10 Thread Michael McDaniel
On Tue, Feb 10, 2009 at 06:19:01PM +0100, Jan Lehnardt wrote: On 10 Feb 2009, at 18:11, Gianugo Rabellino wrote: On Tue, Feb 10, 2009 at 5:52 PM, Jan Lehnardt j...@apache.org wrote: The one caveat with EUnit is that it is released under the LGPL. I am not a lawyer but the consensus on The

Re: Eunit

2009-02-10 Thread Jan Lehnardt
Hi Micheal, On 10 Feb 2009, at 19:29, Michael McDaniel wrote: Thanks, I'll check with legal-discuss@ when this list agrees on adding EUnit support. Bundling EUnit is not necessary as of the latest OTP release and for earlier releases you need to install it manually or you can't run `make

Re: Roadmap discussion

2009-02-10 Thread Kerr Rainey
2009/2/10 Michael McDaniel couc...@autosys.us: ... also, an Erlang API that skips the JSON -convert- native Erlang terms translation overhead. Being as term translation is not necessary when talking 'directly' with the CDB engine (e.g. couch_query_servers:map_docs/2

View Intersections

2009-02-10 Thread Paul Davis
I've been contemplating implementing a new feature that I've been wanting for awhile. There's been some talk of implementing view intersections for a bit now so I figured I'd try and give a summary of what the feature would entail in terms of functionality and then the necessary bits required for

Re: Stats Patch API Discussion

2009-02-10 Thread Noah Slater
CouchDB is designed so that it can crash and restart. What possibilities are there for having statistics persisted between runs, for this reason? -- Noah Slater, http://tumbolia.org/nslater

Re: Stats Patch API Discussion

2009-02-10 Thread Paul Davis
On Tue, Feb 10, 2009 at 8:11 PM, Noah Slater nsla...@apache.org wrote: CouchDB is designed so that it can crash and restart. What possibilities are there for having statistics persisted between runs, for this reason? I'd argue that we should let the stats collection packages deal with

Re: View Intersections

2009-02-10 Thread Jeff Hinrichs - DMT
Just a few comment to get things started. On Tue, Feb 10, 2009 at 5:59 PM, Paul Davis paul.joseph.da...@gmail.com wrote: I've been contemplating implementing a new feature that I've been wanting for awhile. There's been some talk of implementing view intersections for a bit now so I figured

Re: View Intersections

2009-02-10 Thread Paul Davis
On Tue, Feb 10, 2009 at 10:19 PM, Jeff Hinrichs - DMT dunde...@gmail.com wrote: Just a few comment to get things started. On Tue, Feb 10, 2009 at 5:59 PM, Paul Davis paul.joseph.da...@gmail.com wrote: I've been contemplating implementing a new feature that I've been wanting for awhile.

[jira] Created: (COUCHDB-245) Couch uses the erlang stdlib module regexp, which is deprecated and set to be removed. It should use the module re instead.

2009-02-10 Thread alisdair sullivan (JIRA)
Couch uses the erlang stdlib module regexp, which is deprecated and set to be removed. It should use the module re instead. --- Key: COUCHDB-245

[jira] Updated: (COUCHDB-245) Couch uses the erlang stdlib module regexp, which is deprecated and set to be removed. It should use the module re instead.

2009-02-10 Thread alisdair sullivan (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] alisdair sullivan updated COUCHDB-245: -- Affects Version/s: 0.9 Couch uses the erlang stdlib module regexp, which is

Re: View Intersections

2009-02-10 Thread Jeff Hinrichs - DMT
On Tue, Feb 10, 2009 at 9:58 PM, Paul Davis paul.joseph.da...@gmail.com wrote: On Tue, Feb 10, 2009 at 10:19 PM, Jeff Hinrichs - DMT dunde...@gmail.com wrote: Just a few comment to get things started. On Tue, Feb 10, 2009 at 5:59 PM, Paul Davis paul.joseph.da...@gmail.com wrote: I've been

Helping out

2009-02-10 Thread David Van Couvering
Hello. I've been following CouchDB from the sidelines for a while but haven't been able to put much time into it. Recently, however, Sun laid me off, and I thought this would be a good opportunity to get a little more engaged. No better way, IMHO, than to help out with the project. FYI, I'm

[jira] Created: (COUCHDB-246) allow customization of external process timeout

2009-02-10 Thread Robert Newson (JIRA)
allow customization of external process timeout --- Key: COUCHDB-246 URL: https://issues.apache.org/jira/browse/COUCHDB-246 Project: CouchDB Issue Type: Bug Components: Database Core

[jira] Commented: (COUCHDB-246) allow customization of external process timeout

2009-02-10 Thread Antony Blakey (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12672520#action_12672520 ] Antony Blakey commented on COUCHDB-246: --- I have this problem with _externals that

Re: Helping out

2009-02-10 Thread Paul Davis
On Wed, Feb 11, 2009 at 12:27 AM, David Van Couvering da...@vancouvering.com wrote: Hello. I've been following CouchDB from the sidelines for a while but haven't been able to put much time into it. Recently, however, Sun laid me off, and I thought this would be a good opportunity to get a