incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Ray <dave...@gmail.com>
Subject Re: Indexing Design Documents
Date Sun, 08 Nov 2009 04:32:33 GMT
Paul,

Works perfectly. Thanks!  Is the "options" member documented anywhere?

Dave

On Sat, Nov 7, 2009 at 10:53 PM, Paul Davis <paul.joseph.davis@gmail.com> wrote:
> 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