I mean could i sorting with any one of my keys? not with all keys, could i
do this in couchdb view

i use couchdb first time in my project, thank you guys for help

On Sat, Jun 20, 2009 at 9:02 AM, hhsuper <[email protected]> wrote:

> thanks paul,
>
> do you mean i need another view to resolve this, the difference between
> them are the key order?
>
> i mean i want to group or sort not with start at the first key, could i
> achieve this goal in only view?
>
>
> On Sat, Jun 20, 2009 at 8:51 AM, Paul Davis 
> <[email protected]>wrote:
>
>> If you want different key sorting then you'll need to emit different
>> keys. The same goes for grouping differently.
>>
>> Paul Davis
>>
>> On Fri, Jun 19, 2009 at 8:48 PM, hhsuper<[email protected]> wrote:
>> > Hi, my view return structure like this:
>> >
>> >
>> "key":["1","10075","351"],"value":{"count":27420,"score":2085790,"grade":76.06819839533188}
>> >
>> >
>> > the key column refer to userid, dialogid and seesionid, i know i can
>> group
>> > with userid or with userid, dialogid, but how can i group with
>> > dialogid or dialogid,
>> > sessionid?
>> > also about the sorting, the default is using all key, how can i sorting
>> only
>> > with userid or only with dialogid?
>> >
>> > give some suggestion pls.
>> >
>> > --
>> > Yours sincerely
>> >
>> > Jack Su
>> >
>>
>
>
>
> --
> Yours sincerely
>
> Jack Su
>



-- 
Yours sincerely

Jack Su

Reply via email to