Re: Wildcard search on startkey and endkey

2012-09-19 Thread Mark Hahn
The key and id are always included. On Wed, Sep 19, 2012 at 12:45 AM, Pulkit Singhal wrote: > Hello Aurélien! > > > You can "emit([elem1, elem2, elem3, elem4, elem5], null)" > > and then get the view with "include_docs=true". > > You'll get a smaller index on disk and I suppose you will need less

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,