incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Gable <zi...@ignition-project.com>
Subject Re: Wildcard search on startkey and endkey
Date Tue, 18 Sep 2012 05:21:15 GMT
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, 2012 11:52 PM, "Pulkit Singhal" <pulkitsinghal@gmail.com> wrote:

> With a compound key being spit out by a MAP as follows:
> emit ( [elem1, elem2, elem3, elem4, elem5], doc);
>
> 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" ]
>
> Thoughts?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message