No. For logical queries you need a search add-on:
couchdb-lucene: http://github.com/rnewson/couchdb-lucene
ElasticSearch: http://www.elasticsearch.com/
Cloudant Search (hosted):
http://blog.cloudant.com/developer-preview-cloudant-search-for-couchdb/
On 03/23/11 15:56, Andrew Stuart (SuperCoders) wrote:
hello
I have emails stored in a couchdb database and have parsed the major
fields into JSON . I'd like to be able to search for emails, here are
some examples of the types of searches I need to do:
find all emails that have "java OR c++" in the subject line
find all emails that have "graduate NOT tester" in the subject line
find all emails received in 2011 AND have a subject line including the
word "linux"
find all emails that have "(graduate OR junior) NOT linux" in the
subject line
Can couchdb do this?
thanks