Hi Umut, Views are not dynamics, until the source documents do not change, the javascript than define the map or the reduce is not re-run. So the views will not take your http parameters into account, except if these parameters than specify the scope or the depth of the keys that you want to get.
Maybe LIst and Show will fit more what you are trying to achieve. http://wiki.apache.org/couchdb/Formatting_with_Show_and_List 2009/4/28 umut utkan <[email protected]> > 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 <[email protected] > >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 <[email protected]> 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 > > > > > > > > > -- > Umut UTKAN > http://www.hoydaa.org > http://snippets.hoydaa.org > http://www.googlevolume.com >
