Tristan, if you are looking to run more complex queries (particularly anything to do with wildcards) you should really look at couchdb-lucene.

http://github.com/rnewson/couchdb-lucene

-Patrick

On 17/01/2011 1:01 PM, Tristan Sloughter wrote:
I'm looking to query my Couch database in such a way that some of the fields
in a document can be wildcards that match any key request. Example:

function(doc) { emit(doc.some_field, doc); }

?key=100

would match both the document with some_field of 100 and of some_field with
the value *.

Is this possible? Is there a hack way I can resolve it?

Thanks,

Tristan

Reply via email to