incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <paul.joseph.da...@gmail.com>
Subject Re: Indexing Design Documents
Date Sun, 08 Nov 2009 03:53:33 GMT
On Sat, Nov 7, 2009 at 3:01 PM, Dave Ray <daveray@gmail.com> wrote:
> Hi. Based on my limited experimentation, it appears that design
> documents aren't included in views. This may seem weird, but is there
> any way to allow this?
>
> Thanks,
>
> Dave
>

Dave,

If your _design document includes an "options" member with
"include_design" set to true, your view should see design docs.
Something like:

{
    "_id": "foo",
    "options": {"include_design": true},
    "views": ...
}

HTH,
Paul Davis

Mime
View raw message