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: Question about views
Date Tue, 28 Apr 2009 16:41:06 GMT
Umut,

No, you can't parameterize map functions with query parameters. If you 
can explain the type of queries and data you want to query we can then 
help you design a view that uses the Map/Reduce paradigm more efficiently.

Paul Davis

umut utkan wrote:
> Hi,
>
> Actually what I want  is to pass custom query parameters --other than the
> ones explained in HTTP view API--
> to my views so that I can use them in map/reduce functions.
>
> On Tue, Apr 28, 2009 at 12:24 PM, Wout Mertens <wout.mertens@gmail.com>wrote:
>
>   
>> Hi Umut,
>>
>> Can you restate your question? What are you trying to achieve? What
>> views did you have in mind?
>>
>> Wout.
>>
>> On Tuesday, April 28, 2009, umut utkan <umut.utkan@gmail.com> wrote:
>>     
>>> Hi All,
>>>
>>> I am trying to create a view that can return documents according to
>>> a virtual hierarchy --which is stored as an attribute in the document
>>> like hierarchy: "products/motorcycle/dual-purpose". Is it possible to
>>> pass parameters to this view so that it can be used inside map/reduce
>>> functions? Otherwise i am going to end up with numerous views.
>>>
>>> Regards.
>>>
>>> --
>>> Umut
>>>
>>>       
>
>
>
>   


Mime
View raw message