Re: Wildcard search on startkey and endkey

2012-09-17 Thread Aurélien Bénel
Hi Pulkit, > Is it possible to do a search using startkey and endkey in v1.2.0 where the > beginning elements could be anything? Like this: > startkey=[ {}, {}, {}, "elem4name", "elem5name" ] No. Think about the view index as a set of cards in a card sorter. You need to know where to start searc

Re: Wildcard search on startkey and endkey

2012-09-17 Thread Keith Gable
CouchDB is a lot easier to understand if you think about querying views alphabetically like a card catalog. You can say "AA to BZ" but you cannot say "*A to *Z". That said, CouchDB Lucene is actually built for those kinds of queries (and more) and it is really simple to use. Try it out. On Sep 17,

Re: Change in date handling from 1.0.x to 1.2

2012-09-17 Thread Paul Davis
I agree with Bob. This is a difference in your Spidermonkey library. On Mon, Sep 17, 2012 at 5:47 PM, Robert Newson wrote: > I think it's to do with the version of Spidermonkey you've used, > rather than CouchDB version. > > B. > > On 17 September 2012 23:35, Cory Zue wrote: >> Hi, >> >> We're i

Re: Change in date handling from 1.0.x to 1.2

2012-09-17 Thread Robert Newson
I think it's to do with the version of Spidermonkey you've used, rather than CouchDB version. B. On 17 September 2012 23:35, Cory Zue wrote: > Hi, > > We're in the process of migrating our app from couch 1.0 to 1.2. > Seeing different behavior in this view function though, which is > giving us s

Change in date handling from 1.0.x to 1.2

2012-09-17 Thread Cory Zue
Hi, We're in the process of migrating our app from couch 1.0 to 1.2. Seeing different behavior in this view function though, which is giving us some trouble. https://github.com/dimagi/core-hq/blob/master/corehq/couchapps/formtrends/views/form_time_by_user/map.js It looks like it works as designe