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 04:42:02 GMT
Dave,

Not to my knowledge actually. I just grep'ed to find those two names
for certain. And I'm pretty sure there's at least one or two more
options supported...

Feel free to wiki that. :)

Paul Davis

On Sat, Nov 7, 2009 at 11:32 PM, Dave Ray <daveray@gmail.com> wrote:
> 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