You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Joey Samonte <cs...@hotmail.com> on 2016/08/24 09:07:07 UTC
Testing a CouchDB 2.0 feature
Good day,
It says here that this issue is already resolved. https://issues.apache.org/jira/browse/COUCHDB-523
I was really looking forward for this feature, so I was wondering is there any documentation for this, on how to use the API?
Regards,
Joey
Re: Testing a CouchDB 2.0 feature
Posted by Jan Lehnardt <ja...@apache.org>.
You can use https://couchdb-ci.s3-eu-west-1.amazonaws.com/release-candidate/apache-couchdb-2.0.0-7422b55.tar.gz in the meantime.
Best
Jan
--
> On 02 Sep 2016, at 20:37, Joey Samonte <cs...@hotmail.com> wrote:
>
> I believe so. Will test in the next RC. Thanks!
>
>> From: eiri@eiri.ca
>> Subject: Re: Testing a CouchDB 2.0 feature
>> Date: Fri, 2 Sep 2016 15:27:19 -0300
>> To: dev@couchdb.apache.org
>>
>> Hi Joey,
>>
>> Does the invalid json you are seeing looks like it described in this issue's comment?
>>
>> https://issues.apache.org/jira/browse/COUCHDB-3060?focusedCommentId=15436912&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15436912 <https://issues.apache.org/jira/browse/COUCHDB-3060?focusedCommentId=15436912&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15436912>
>>
>> If so it should be fixed in the next RC
>>
>> Regards,
>> Eric
>>
>>
>>> On Sep 2, 2016, at 15:06, Joey Samonte <cs...@hotmail.com> wrote:
>>>
>>> How do I file a bug report for this? Seems to return an invalid json both when results are found or not.
>>>
>>>> Date: Tue, 30 Aug 2016 01:35:46 -0400
>>>> From: wohali@apache.org
>>>> To: dev@couchdb.apache.org
>>>> Subject: Re: Testing a CouchDB 2.0 feature
>>>>
>>>> Should be possible! Try it yourself!
>>>>
>>>> ----- Original Message -----
>>>>> From: "Joey Samonte" <cs...@hotmail.com>
>>>>> To: dev@couchdb.apache.org
>>>>> Sent: Tuesday, August 30, 2016 1:10:38 AM
>>>>> Subject: RE: Testing a CouchDB 2.0 feature
>>>>>
>>>>> Is it possible to add a 'limit' and 'descending' clause to each pair
>>>>> of startkey/endkey?
>>>>>
>>>>>> Date: Wed, 24 Aug 2016 14:51:56 -0400
>>>>>> From: wohali@apache.org
>>>>>> To: dev@couchdb.apache.org
>>>>>> Subject: Re: Testing a CouchDB 2.0 feature
>>>>>>
>>>>>> Try it and find out! :) (Yes, it should work just fine.)
>>>>>>
>>>>>>
>>>>>>
>>>>>> ----- Original Message -----
>>>>>>> From: "Joey Samonte" <cs...@hotmail.com>
>>>>>>> To: dev@couchdb.apache.org
>>>>>>> Sent: Wednesday, August 24, 2016 7:31:00 AM
>>>>>>> Subject: RE: Testing a CouchDB 2.0 feature
>>>>>>>
>>>>>>> Could the startkeys and endkeys be arrays as before?
>>>>>>> Thanks!
>>>>>>>
>>>>>>>> Date: Wed, 24 Aug 2016 05:32:09 -0400
>>>>>>>> From: wohali@apache.org
>>>>>>>> To: dev@couchdb.apache.org
>>>>>>>> Subject: Re: Testing a CouchDB 2.0 feature
>>>>>>>>
>>>>>>>> Replying to my own email with more detail.
>>>>>>>>
>>>>>>>> The format of the 'queries' POST doc should look like:
>>>>>>>>
>>>>>>>> {
>>>>>>>> "queries" : [
>>>>>>>> { "startkey": "a", "endkey": "c"},
>>>>>>>> { "startkey": "q", "endkey": "s"}
>>>>>>>> ]
>>>>>>>> }
>>>>>>>>
>>>>>>>>
>>>>>>>> ----- Original Message -----
>>>>>>>>> From: "Joan Touzet" <wo...@apache.org>
>>>>>>>>> To: dev@couchdb.apache.org
>>>>>>>>> Sent: Wednesday, August 24, 2016 5:29:24 AM
>>>>>>>>> Subject: Re: Testing a CouchDB 2.0 feature
>>>>>>>>>
>>>>>>>>> Looks like from the code your POST body should contain a
>>>>>>>>> 'queries' list or a 'keys' key-value pair. Here's an example
>>>>>>>>> of the latter that should now work under CouchDB 2.0 (see the
>>>>>>>>> answer, not the question):
>>>>>>>>>
>>>>>>>>> http://stackoverflow.com/questions/27327140/how-to-combine-multiple-couchdb-queries-into-a-single-request
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ----- Original Message -----
>>>>>>>>>> From: "Joey Samonte" <cs...@hotmail.com>
>>>>>>>>>> To: dev@couchdb.apache.org
>>>>>>>>>> Sent: Wednesday, August 24, 2016 5:07:07 AM
>>>>>>>>>> Subject: Testing a CouchDB 2.0 feature
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Good day,
>>>>>>>>>>
>>>>>>>>>> It says here that this issue is already resolved.
>>>>>>>>>> https://issues.apache.org/jira/browse/COUCHDB-523
>>>>>>>>>> I was really looking forward for this feature, so I was
>>>>>>>>>> wondering
>>>>>>>>>> is
>>>>>>>>>> there any documentation for this, on how to use the API?
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>> Joey
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>
>>>
>>
>
--
Professional Support for Apache CouchDB:
https://neighbourhood.ie/couchdb-support/
RE: Testing a CouchDB 2.0 feature
Posted by Joey Samonte <cs...@hotmail.com>.
I believe so. Will test in the next RC. Thanks!
> From: eiri@eiri.ca
> Subject: Re: Testing a CouchDB 2.0 feature
> Date: Fri, 2 Sep 2016 15:27:19 -0300
> To: dev@couchdb.apache.org
>
> Hi Joey,
>
> Does the invalid json you are seeing looks like it described in this issue's comment?
>
> https://issues.apache.org/jira/browse/COUCHDB-3060?focusedCommentId=15436912&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15436912 <https://issues.apache.org/jira/browse/COUCHDB-3060?focusedCommentId=15436912&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15436912>
>
> If so it should be fixed in the next RC
>
> Regards,
> Eric
>
>
> > On Sep 2, 2016, at 15:06, Joey Samonte <cs...@hotmail.com> wrote:
> >
> > How do I file a bug report for this? Seems to return an invalid json both when results are found or not.
> >
> >> Date: Tue, 30 Aug 2016 01:35:46 -0400
> >> From: wohali@apache.org
> >> To: dev@couchdb.apache.org
> >> Subject: Re: Testing a CouchDB 2.0 feature
> >>
> >> Should be possible! Try it yourself!
> >>
> >> ----- Original Message -----
> >>> From: "Joey Samonte" <cs...@hotmail.com>
> >>> To: dev@couchdb.apache.org
> >>> Sent: Tuesday, August 30, 2016 1:10:38 AM
> >>> Subject: RE: Testing a CouchDB 2.0 feature
> >>>
> >>> Is it possible to add a 'limit' and 'descending' clause to each pair
> >>> of startkey/endkey?
> >>>
> >>>> Date: Wed, 24 Aug 2016 14:51:56 -0400
> >>>> From: wohali@apache.org
> >>>> To: dev@couchdb.apache.org
> >>>> Subject: Re: Testing a CouchDB 2.0 feature
> >>>>
> >>>> Try it and find out! :) (Yes, it should work just fine.)
> >>>>
> >>>>
> >>>>
> >>>> ----- Original Message -----
> >>>>> From: "Joey Samonte" <cs...@hotmail.com>
> >>>>> To: dev@couchdb.apache.org
> >>>>> Sent: Wednesday, August 24, 2016 7:31:00 AM
> >>>>> Subject: RE: Testing a CouchDB 2.0 feature
> >>>>>
> >>>>> Could the startkeys and endkeys be arrays as before?
> >>>>> Thanks!
> >>>>>
> >>>>>> Date: Wed, 24 Aug 2016 05:32:09 -0400
> >>>>>> From: wohali@apache.org
> >>>>>> To: dev@couchdb.apache.org
> >>>>>> Subject: Re: Testing a CouchDB 2.0 feature
> >>>>>>
> >>>>>> Replying to my own email with more detail.
> >>>>>>
> >>>>>> The format of the 'queries' POST doc should look like:
> >>>>>>
> >>>>>> {
> >>>>>> "queries" : [
> >>>>>> { "startkey": "a", "endkey": "c"},
> >>>>>> { "startkey": "q", "endkey": "s"}
> >>>>>> ]
> >>>>>> }
> >>>>>>
> >>>>>>
> >>>>>> ----- Original Message -----
> >>>>>>> From: "Joan Touzet" <wo...@apache.org>
> >>>>>>> To: dev@couchdb.apache.org
> >>>>>>> Sent: Wednesday, August 24, 2016 5:29:24 AM
> >>>>>>> Subject: Re: Testing a CouchDB 2.0 feature
> >>>>>>>
> >>>>>>> Looks like from the code your POST body should contain a
> >>>>>>> 'queries' list or a 'keys' key-value pair. Here's an example
> >>>>>>> of the latter that should now work under CouchDB 2.0 (see the
> >>>>>>> answer, not the question):
> >>>>>>>
> >>>>>>> http://stackoverflow.com/questions/27327140/how-to-combine-multiple-couchdb-queries-into-a-single-request
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> ----- Original Message -----
> >>>>>>>> From: "Joey Samonte" <cs...@hotmail.com>
> >>>>>>>> To: dev@couchdb.apache.org
> >>>>>>>> Sent: Wednesday, August 24, 2016 5:07:07 AM
> >>>>>>>> Subject: Testing a CouchDB 2.0 feature
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Good day,
> >>>>>>>>
> >>>>>>>> It says here that this issue is already resolved.
> >>>>>>>> https://issues.apache.org/jira/browse/COUCHDB-523
> >>>>>>>> I was really looking forward for this feature, so I was
> >>>>>>>> wondering
> >>>>>>>> is
> >>>>>>>> there any documentation for this, on how to use the API?
> >>>>>>>>
> >>>>>>>> Regards,
> >>>>>>>> Joey
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>
> >>>
> >
>
Re: Testing a CouchDB 2.0 feature
Posted by Eiri <ei...@eiri.ca>.
Hi Joey,
Does the invalid json you are seeing looks like it described in this issue's comment?
https://issues.apache.org/jira/browse/COUCHDB-3060?focusedCommentId=15436912&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15436912 <https://issues.apache.org/jira/browse/COUCHDB-3060?focusedCommentId=15436912&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15436912>
If so it should be fixed in the next RC
Regards,
Eric
> On Sep 2, 2016, at 15:06, Joey Samonte <cs...@hotmail.com> wrote:
>
> How do I file a bug report for this? Seems to return an invalid json both when results are found or not.
>
>> Date: Tue, 30 Aug 2016 01:35:46 -0400
>> From: wohali@apache.org
>> To: dev@couchdb.apache.org
>> Subject: Re: Testing a CouchDB 2.0 feature
>>
>> Should be possible! Try it yourself!
>>
>> ----- Original Message -----
>>> From: "Joey Samonte" <cs...@hotmail.com>
>>> To: dev@couchdb.apache.org
>>> Sent: Tuesday, August 30, 2016 1:10:38 AM
>>> Subject: RE: Testing a CouchDB 2.0 feature
>>>
>>> Is it possible to add a 'limit' and 'descending' clause to each pair
>>> of startkey/endkey?
>>>
>>>> Date: Wed, 24 Aug 2016 14:51:56 -0400
>>>> From: wohali@apache.org
>>>> To: dev@couchdb.apache.org
>>>> Subject: Re: Testing a CouchDB 2.0 feature
>>>>
>>>> Try it and find out! :) (Yes, it should work just fine.)
>>>>
>>>>
>>>>
>>>> ----- Original Message -----
>>>>> From: "Joey Samonte" <cs...@hotmail.com>
>>>>> To: dev@couchdb.apache.org
>>>>> Sent: Wednesday, August 24, 2016 7:31:00 AM
>>>>> Subject: RE: Testing a CouchDB 2.0 feature
>>>>>
>>>>> Could the startkeys and endkeys be arrays as before?
>>>>> Thanks!
>>>>>
>>>>>> Date: Wed, 24 Aug 2016 05:32:09 -0400
>>>>>> From: wohali@apache.org
>>>>>> To: dev@couchdb.apache.org
>>>>>> Subject: Re: Testing a CouchDB 2.0 feature
>>>>>>
>>>>>> Replying to my own email with more detail.
>>>>>>
>>>>>> The format of the 'queries' POST doc should look like:
>>>>>>
>>>>>> {
>>>>>> "queries" : [
>>>>>> { "startkey": "a", "endkey": "c"},
>>>>>> { "startkey": "q", "endkey": "s"}
>>>>>> ]
>>>>>> }
>>>>>>
>>>>>>
>>>>>> ----- Original Message -----
>>>>>>> From: "Joan Touzet" <wo...@apache.org>
>>>>>>> To: dev@couchdb.apache.org
>>>>>>> Sent: Wednesday, August 24, 2016 5:29:24 AM
>>>>>>> Subject: Re: Testing a CouchDB 2.0 feature
>>>>>>>
>>>>>>> Looks like from the code your POST body should contain a
>>>>>>> 'queries' list or a 'keys' key-value pair. Here's an example
>>>>>>> of the latter that should now work under CouchDB 2.0 (see the
>>>>>>> answer, not the question):
>>>>>>>
>>>>>>> http://stackoverflow.com/questions/27327140/how-to-combine-multiple-couchdb-queries-into-a-single-request
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ----- Original Message -----
>>>>>>>> From: "Joey Samonte" <cs...@hotmail.com>
>>>>>>>> To: dev@couchdb.apache.org
>>>>>>>> Sent: Wednesday, August 24, 2016 5:07:07 AM
>>>>>>>> Subject: Testing a CouchDB 2.0 feature
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Good day,
>>>>>>>>
>>>>>>>> It says here that this issue is already resolved.
>>>>>>>> https://issues.apache.org/jira/browse/COUCHDB-523
>>>>>>>> I was really looking forward for this feature, so I was
>>>>>>>> wondering
>>>>>>>> is
>>>>>>>> there any documentation for this, on how to use the API?
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Joey
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>
>
RE: Testing a CouchDB 2.0 feature
Posted by Joey Samonte <cs...@hotmail.com>.
How do I file a bug report for this? Seems to return an invalid json both when results are found or not.
> Date: Tue, 30 Aug 2016 01:35:46 -0400
> From: wohali@apache.org
> To: dev@couchdb.apache.org
> Subject: Re: Testing a CouchDB 2.0 feature
>
> Should be possible! Try it yourself!
>
> ----- Original Message -----
> > From: "Joey Samonte" <cs...@hotmail.com>
> > To: dev@couchdb.apache.org
> > Sent: Tuesday, August 30, 2016 1:10:38 AM
> > Subject: RE: Testing a CouchDB 2.0 feature
> >
> > Is it possible to add a 'limit' and 'descending' clause to each pair
> > of startkey/endkey?
> >
> > > Date: Wed, 24 Aug 2016 14:51:56 -0400
> > > From: wohali@apache.org
> > > To: dev@couchdb.apache.org
> > > Subject: Re: Testing a CouchDB 2.0 feature
> > >
> > > Try it and find out! :) (Yes, it should work just fine.)
> > >
> > >
> > >
> > > ----- Original Message -----
> > > > From: "Joey Samonte" <cs...@hotmail.com>
> > > > To: dev@couchdb.apache.org
> > > > Sent: Wednesday, August 24, 2016 7:31:00 AM
> > > > Subject: RE: Testing a CouchDB 2.0 feature
> > > >
> > > > Could the startkeys and endkeys be arrays as before?
> > > > Thanks!
> > > >
> > > > > Date: Wed, 24 Aug 2016 05:32:09 -0400
> > > > > From: wohali@apache.org
> > > > > To: dev@couchdb.apache.org
> > > > > Subject: Re: Testing a CouchDB 2.0 feature
> > > > >
> > > > > Replying to my own email with more detail.
> > > > >
> > > > > The format of the 'queries' POST doc should look like:
> > > > >
> > > > > {
> > > > > "queries" : [
> > > > > { "startkey": "a", "endkey": "c"},
> > > > > { "startkey": "q", "endkey": "s"}
> > > > > ]
> > > > > }
> > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > > From: "Joan Touzet" <wo...@apache.org>
> > > > > > To: dev@couchdb.apache.org
> > > > > > Sent: Wednesday, August 24, 2016 5:29:24 AM
> > > > > > Subject: Re: Testing a CouchDB 2.0 feature
> > > > > >
> > > > > > Looks like from the code your POST body should contain a
> > > > > > 'queries' list or a 'keys' key-value pair. Here's an example
> > > > > > of the latter that should now work under CouchDB 2.0 (see the
> > > > > > answer, not the question):
> > > > > >
> > > > > > http://stackoverflow.com/questions/27327140/how-to-combine-multiple-couchdb-queries-into-a-single-request
> > > > > >
> > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > > From: "Joey Samonte" <cs...@hotmail.com>
> > > > > > > To: dev@couchdb.apache.org
> > > > > > > Sent: Wednesday, August 24, 2016 5:07:07 AM
> > > > > > > Subject: Testing a CouchDB 2.0 feature
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Good day,
> > > > > > >
> > > > > > > It says here that this issue is already resolved.
> > > > > > > https://issues.apache.org/jira/browse/COUCHDB-523
> > > > > > > I was really looking forward for this feature, so I was
> > > > > > > wondering
> > > > > > > is
> > > > > > > there any documentation for this, on how to use the API?
> > > > > > >
> > > > > > > Regards,
> > > > > > > Joey
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > >
> >
RE: Testing a CouchDB 2.0 feature
Posted by Joey Samonte <cs...@hotmail.com>.
I tried the POSTing the 'queries' to the specific view, but just getting HTTP 500 error. Is there a way to debug this?
> Date: Tue, 30 Aug 2016 01:35:46 -0400
> From: wohali@apache.org
> To: dev@couchdb.apache.org
> Subject: Re: Testing a CouchDB 2.0 feature
>
> Should be possible! Try it yourself!
>
> ----- Original Message -----
> > From: "Joey Samonte" <cs...@hotmail.com>
> > To: dev@couchdb.apache.org
> > Sent: Tuesday, August 30, 2016 1:10:38 AM
> > Subject: RE: Testing a CouchDB 2.0 feature
> >
> > Is it possible to add a 'limit' and 'descending' clause to each pair
> > of startkey/endkey?
> >
> > > Date: Wed, 24 Aug 2016 14:51:56 -0400
> > > From: wohali@apache.org
> > > To: dev@couchdb.apache.org
> > > Subject: Re: Testing a CouchDB 2.0 feature
> > >
> > > Try it and find out! :) (Yes, it should work just fine.)
> > >
> > >
> > >
> > > ----- Original Message -----
> > > > From: "Joey Samonte" <cs...@hotmail.com>
> > > > To: dev@couchdb.apache.org
> > > > Sent: Wednesday, August 24, 2016 7:31:00 AM
> > > > Subject: RE: Testing a CouchDB 2.0 feature
> > > >
> > > > Could the startkeys and endkeys be arrays as before?
> > > > Thanks!
> > > >
> > > > > Date: Wed, 24 Aug 2016 05:32:09 -0400
> > > > > From: wohali@apache.org
> > > > > To: dev@couchdb.apache.org
> > > > > Subject: Re: Testing a CouchDB 2.0 feature
> > > > >
> > > > > Replying to my own email with more detail.
> > > > >
> > > > > The format of the 'queries' POST doc should look like:
> > > > >
> > > > > {
> > > > > "queries" : [
> > > > > { "startkey": "a", "endkey": "c"},
> > > > > { "startkey": "q", "endkey": "s"}
> > > > > ]
> > > > > }
> > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > > From: "Joan Touzet" <wo...@apache.org>
> > > > > > To: dev@couchdb.apache.org
> > > > > > Sent: Wednesday, August 24, 2016 5:29:24 AM
> > > > > > Subject: Re: Testing a CouchDB 2.0 feature
> > > > > >
> > > > > > Looks like from the code your POST body should contain a
> > > > > > 'queries' list or a 'keys' key-value pair. Here's an example
> > > > > > of the latter that should now work under CouchDB 2.0 (see the
> > > > > > answer, not the question):
> > > > > >
> > > > > > http://stackoverflow.com/questions/27327140/how-to-combine-multiple-couchdb-queries-into-a-single-request
> > > > > >
> > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > > From: "Joey Samonte" <cs...@hotmail.com>
> > > > > > > To: dev@couchdb.apache.org
> > > > > > > Sent: Wednesday, August 24, 2016 5:07:07 AM
> > > > > > > Subject: Testing a CouchDB 2.0 feature
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Good day,
> > > > > > >
> > > > > > > It says here that this issue is already resolved.
> > > > > > > https://issues.apache.org/jira/browse/COUCHDB-523
> > > > > > > I was really looking forward for this feature, so I was
> > > > > > > wondering
> > > > > > > is
> > > > > > > there any documentation for this, on how to use the API?
> > > > > > >
> > > > > > > Regards,
> > > > > > > Joey
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > >
> >
RE: Testing a CouchDB 2.0 feature
Posted by Joey Samonte <cs...@hotmail.com>.
I got this working from curl. Maybe I am doing something wrong from my C# code. :(
> Date: Tue, 30 Aug 2016 01:35:46 -0400
> From: wohali@apache.org
> To: dev@couchdb.apache.org
> Subject: Re: Testing a CouchDB 2.0 feature
>
> Should be possible! Try it yourself!
>
> ----- Original Message -----
> > From: "Joey Samonte" <cs...@hotmail.com>
> > To: dev@couchdb.apache.org
> > Sent: Tuesday, August 30, 2016 1:10:38 AM
> > Subject: RE: Testing a CouchDB 2.0 feature
> >
> > Is it possible to add a 'limit' and 'descending' clause to each pair
> > of startkey/endkey?
> >
> > > Date: Wed, 24 Aug 2016 14:51:56 -0400
> > > From: wohali@apache.org
> > > To: dev@couchdb.apache.org
> > > Subject: Re: Testing a CouchDB 2.0 feature
> > >
> > > Try it and find out! :) (Yes, it should work just fine.)
> > >
> > >
> > >
> > > ----- Original Message -----
> > > > From: "Joey Samonte" <cs...@hotmail.com>
> > > > To: dev@couchdb.apache.org
> > > > Sent: Wednesday, August 24, 2016 7:31:00 AM
> > > > Subject: RE: Testing a CouchDB 2.0 feature
> > > >
> > > > Could the startkeys and endkeys be arrays as before?
> > > > Thanks!
> > > >
> > > > > Date: Wed, 24 Aug 2016 05:32:09 -0400
> > > > > From: wohali@apache.org
> > > > > To: dev@couchdb.apache.org
> > > > > Subject: Re: Testing a CouchDB 2.0 feature
> > > > >
> > > > > Replying to my own email with more detail.
> > > > >
> > > > > The format of the 'queries' POST doc should look like:
> > > > >
> > > > > {
> > > > > "queries" : [
> > > > > { "startkey": "a", "endkey": "c"},
> > > > > { "startkey": "q", "endkey": "s"}
> > > > > ]
> > > > > }
> > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > > From: "Joan Touzet" <wo...@apache.org>
> > > > > > To: dev@couchdb.apache.org
> > > > > > Sent: Wednesday, August 24, 2016 5:29:24 AM
> > > > > > Subject: Re: Testing a CouchDB 2.0 feature
> > > > > >
> > > > > > Looks like from the code your POST body should contain a
> > > > > > 'queries' list or a 'keys' key-value pair. Here's an example
> > > > > > of the latter that should now work under CouchDB 2.0 (see the
> > > > > > answer, not the question):
> > > > > >
> > > > > > http://stackoverflow.com/questions/27327140/how-to-combine-multiple-couchdb-queries-into-a-single-request
> > > > > >
> > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > > From: "Joey Samonte" <cs...@hotmail.com>
> > > > > > > To: dev@couchdb.apache.org
> > > > > > > Sent: Wednesday, August 24, 2016 5:07:07 AM
> > > > > > > Subject: Testing a CouchDB 2.0 feature
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Good day,
> > > > > > >
> > > > > > > It says here that this issue is already resolved.
> > > > > > > https://issues.apache.org/jira/browse/COUCHDB-523
> > > > > > > I was really looking forward for this feature, so I was
> > > > > > > wondering
> > > > > > > is
> > > > > > > there any documentation for this, on how to use the API?
> > > > > > >
> > > > > > > Regards,
> > > > > > > Joey
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > >
> >
Re: Testing a CouchDB 2.0 feature
Posted by Joan Touzet <wo...@apache.org>.
Should be possible! Try it yourself!
----- Original Message -----
> From: "Joey Samonte" <cs...@hotmail.com>
> To: dev@couchdb.apache.org
> Sent: Tuesday, August 30, 2016 1:10:38 AM
> Subject: RE: Testing a CouchDB 2.0 feature
>
> Is it possible to add a 'limit' and 'descending' clause to each pair
> of startkey/endkey?
>
> > Date: Wed, 24 Aug 2016 14:51:56 -0400
> > From: wohali@apache.org
> > To: dev@couchdb.apache.org
> > Subject: Re: Testing a CouchDB 2.0 feature
> >
> > Try it and find out! :) (Yes, it should work just fine.)
> >
> >
> >
> > ----- Original Message -----
> > > From: "Joey Samonte" <cs...@hotmail.com>
> > > To: dev@couchdb.apache.org
> > > Sent: Wednesday, August 24, 2016 7:31:00 AM
> > > Subject: RE: Testing a CouchDB 2.0 feature
> > >
> > > Could the startkeys and endkeys be arrays as before?
> > > Thanks!
> > >
> > > > Date: Wed, 24 Aug 2016 05:32:09 -0400
> > > > From: wohali@apache.org
> > > > To: dev@couchdb.apache.org
> > > > Subject: Re: Testing a CouchDB 2.0 feature
> > > >
> > > > Replying to my own email with more detail.
> > > >
> > > > The format of the 'queries' POST doc should look like:
> > > >
> > > > {
> > > > "queries" : [
> > > > { "startkey": "a", "endkey": "c"},
> > > > { "startkey": "q", "endkey": "s"}
> > > > ]
> > > > }
> > > >
> > > >
> > > > ----- Original Message -----
> > > > > From: "Joan Touzet" <wo...@apache.org>
> > > > > To: dev@couchdb.apache.org
> > > > > Sent: Wednesday, August 24, 2016 5:29:24 AM
> > > > > Subject: Re: Testing a CouchDB 2.0 feature
> > > > >
> > > > > Looks like from the code your POST body should contain a
> > > > > 'queries' list or a 'keys' key-value pair. Here's an example
> > > > > of the latter that should now work under CouchDB 2.0 (see the
> > > > > answer, not the question):
> > > > >
> > > > > http://stackoverflow.com/questions/27327140/how-to-combine-multiple-couchdb-queries-into-a-single-request
> > > > >
> > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > > From: "Joey Samonte" <cs...@hotmail.com>
> > > > > > To: dev@couchdb.apache.org
> > > > > > Sent: Wednesday, August 24, 2016 5:07:07 AM
> > > > > > Subject: Testing a CouchDB 2.0 feature
> > > > > >
> > > > > >
> > > > > >
> > > > > > Good day,
> > > > > >
> > > > > > It says here that this issue is already resolved.
> > > > > > https://issues.apache.org/jira/browse/COUCHDB-523
> > > > > > I was really looking forward for this feature, so I was
> > > > > > wondering
> > > > > > is
> > > > > > there any documentation for this, on how to use the API?
> > > > > >
> > > > > > Regards,
> > > > > > Joey
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > >
>
RE: Testing a CouchDB 2.0 feature
Posted by Joey Samonte <cs...@hotmail.com>.
Is it possible to add a 'limit' and 'descending' clause to each pair of startkey/endkey?
> Date: Wed, 24 Aug 2016 14:51:56 -0400
> From: wohali@apache.org
> To: dev@couchdb.apache.org
> Subject: Re: Testing a CouchDB 2.0 feature
>
> Try it and find out! :) (Yes, it should work just fine.)
>
>
>
> ----- Original Message -----
> > From: "Joey Samonte" <cs...@hotmail.com>
> > To: dev@couchdb.apache.org
> > Sent: Wednesday, August 24, 2016 7:31:00 AM
> > Subject: RE: Testing a CouchDB 2.0 feature
> >
> > Could the startkeys and endkeys be arrays as before?
> > Thanks!
> >
> > > Date: Wed, 24 Aug 2016 05:32:09 -0400
> > > From: wohali@apache.org
> > > To: dev@couchdb.apache.org
> > > Subject: Re: Testing a CouchDB 2.0 feature
> > >
> > > Replying to my own email with more detail.
> > >
> > > The format of the 'queries' POST doc should look like:
> > >
> > > {
> > > "queries" : [
> > > { "startkey": "a", "endkey": "c"},
> > > { "startkey": "q", "endkey": "s"}
> > > ]
> > > }
> > >
> > >
> > > ----- Original Message -----
> > > > From: "Joan Touzet" <wo...@apache.org>
> > > > To: dev@couchdb.apache.org
> > > > Sent: Wednesday, August 24, 2016 5:29:24 AM
> > > > Subject: Re: Testing a CouchDB 2.0 feature
> > > >
> > > > Looks like from the code your POST body should contain a
> > > > 'queries' list or a 'keys' key-value pair. Here's an example
> > > > of the latter that should now work under CouchDB 2.0 (see the
> > > > answer, not the question):
> > > >
> > > > http://stackoverflow.com/questions/27327140/how-to-combine-multiple-couchdb-queries-into-a-single-request
> > > >
> > > >
> > > >
> > > > ----- Original Message -----
> > > > > From: "Joey Samonte" <cs...@hotmail.com>
> > > > > To: dev@couchdb.apache.org
> > > > > Sent: Wednesday, August 24, 2016 5:07:07 AM
> > > > > Subject: Testing a CouchDB 2.0 feature
> > > > >
> > > > >
> > > > >
> > > > > Good day,
> > > > >
> > > > > It says here that this issue is already resolved.
> > > > > https://issues.apache.org/jira/browse/COUCHDB-523
> > > > > I was really looking forward for this feature, so I was
> > > > > wondering
> > > > > is
> > > > > there any documentation for this, on how to use the API?
> > > > >
> > > > > Regards,
> > > > > Joey
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> >
Re: Testing a CouchDB 2.0 feature
Posted by Joan Touzet <wo...@apache.org>.
Try it and find out! :) (Yes, it should work just fine.)
----- Original Message -----
> From: "Joey Samonte" <cs...@hotmail.com>
> To: dev@couchdb.apache.org
> Sent: Wednesday, August 24, 2016 7:31:00 AM
> Subject: RE: Testing a CouchDB 2.0 feature
>
> Could the startkeys and endkeys be arrays as before?
> Thanks!
>
> > Date: Wed, 24 Aug 2016 05:32:09 -0400
> > From: wohali@apache.org
> > To: dev@couchdb.apache.org
> > Subject: Re: Testing a CouchDB 2.0 feature
> >
> > Replying to my own email with more detail.
> >
> > The format of the 'queries' POST doc should look like:
> >
> > {
> > "queries" : [
> > { "startkey": "a", "endkey": "c"},
> > { "startkey": "q", "endkey": "s"}
> > ]
> > }
> >
> >
> > ----- Original Message -----
> > > From: "Joan Touzet" <wo...@apache.org>
> > > To: dev@couchdb.apache.org
> > > Sent: Wednesday, August 24, 2016 5:29:24 AM
> > > Subject: Re: Testing a CouchDB 2.0 feature
> > >
> > > Looks like from the code your POST body should contain a
> > > 'queries' list or a 'keys' key-value pair. Here's an example
> > > of the latter that should now work under CouchDB 2.0 (see the
> > > answer, not the question):
> > >
> > > http://stackoverflow.com/questions/27327140/how-to-combine-multiple-couchdb-queries-into-a-single-request
> > >
> > >
> > >
> > > ----- Original Message -----
> > > > From: "Joey Samonte" <cs...@hotmail.com>
> > > > To: dev@couchdb.apache.org
> > > > Sent: Wednesday, August 24, 2016 5:07:07 AM
> > > > Subject: Testing a CouchDB 2.0 feature
> > > >
> > > >
> > > >
> > > > Good day,
> > > >
> > > > It says here that this issue is already resolved.
> > > > https://issues.apache.org/jira/browse/COUCHDB-523
> > > > I was really looking forward for this feature, so I was
> > > > wondering
> > > > is
> > > > there any documentation for this, on how to use the API?
> > > >
> > > > Regards,
> > > > Joey
> > > >
> > > >
> > > >
> > >
> > >
>
RE: Testing a CouchDB 2.0 feature
Posted by Joey Samonte <cs...@hotmail.com>.
Could the startkeys and endkeys be arrays as before?
Thanks!
> Date: Wed, 24 Aug 2016 05:32:09 -0400
> From: wohali@apache.org
> To: dev@couchdb.apache.org
> Subject: Re: Testing a CouchDB 2.0 feature
>
> Replying to my own email with more detail.
>
> The format of the 'queries' POST doc should look like:
>
> {
> "queries" : [
> { "startkey": "a", "endkey": "c"},
> { "startkey": "q", "endkey": "s"}
> ]
> }
>
>
> ----- Original Message -----
> > From: "Joan Touzet" <wo...@apache.org>
> > To: dev@couchdb.apache.org
> > Sent: Wednesday, August 24, 2016 5:29:24 AM
> > Subject: Re: Testing a CouchDB 2.0 feature
> >
> > Looks like from the code your POST body should contain a
> > 'queries' list or a 'keys' key-value pair. Here's an example
> > of the latter that should now work under CouchDB 2.0 (see the
> > answer, not the question):
> >
> > http://stackoverflow.com/questions/27327140/how-to-combine-multiple-couchdb-queries-into-a-single-request
> >
> >
> >
> > ----- Original Message -----
> > > From: "Joey Samonte" <cs...@hotmail.com>
> > > To: dev@couchdb.apache.org
> > > Sent: Wednesday, August 24, 2016 5:07:07 AM
> > > Subject: Testing a CouchDB 2.0 feature
> > >
> > >
> > >
> > > Good day,
> > >
> > > It says here that this issue is already resolved.
> > > https://issues.apache.org/jira/browse/COUCHDB-523
> > > I was really looking forward for this feature, so I was wondering
> > > is
> > > there any documentation for this, on how to use the API?
> > >
> > > Regards,
> > > Joey
> > >
> > >
> > >
> >
> >
Re: Testing a CouchDB 2.0 feature
Posted by Joan Touzet <wo...@apache.org>.
Replying to my own email with more detail.
The format of the 'queries' POST doc should look like:
{
"queries" : [
{ "startkey": "a", "endkey": "c"},
{ "startkey": "q", "endkey": "s"}
]
}
----- Original Message -----
> From: "Joan Touzet" <wo...@apache.org>
> To: dev@couchdb.apache.org
> Sent: Wednesday, August 24, 2016 5:29:24 AM
> Subject: Re: Testing a CouchDB 2.0 feature
>
> Looks like from the code your POST body should contain a
> 'queries' list or a 'keys' key-value pair. Here's an example
> of the latter that should now work under CouchDB 2.0 (see the
> answer, not the question):
>
> http://stackoverflow.com/questions/27327140/how-to-combine-multiple-couchdb-queries-into-a-single-request
>
>
>
> ----- Original Message -----
> > From: "Joey Samonte" <cs...@hotmail.com>
> > To: dev@couchdb.apache.org
> > Sent: Wednesday, August 24, 2016 5:07:07 AM
> > Subject: Testing a CouchDB 2.0 feature
> >
> >
> >
> > Good day,
> >
> > It says here that this issue is already resolved.
> > https://issues.apache.org/jira/browse/COUCHDB-523
> > I was really looking forward for this feature, so I was wondering
> > is
> > there any documentation for this, on how to use the API?
> >
> > Regards,
> > Joey
> >
> >
> >
>
>
Re: Testing a CouchDB 2.0 feature
Posted by Joan Touzet <wo...@apache.org>.
Looks like from the code your POST body should contain a
'queries' list or a 'keys' key-value pair. Here's an example
of the latter that should now work under CouchDB 2.0 (see the
answer, not the question):
http://stackoverflow.com/questions/27327140/how-to-combine-multiple-couchdb-queries-into-a-single-request
----- Original Message -----
> From: "Joey Samonte" <cs...@hotmail.com>
> To: dev@couchdb.apache.org
> Sent: Wednesday, August 24, 2016 5:07:07 AM
> Subject: Testing a CouchDB 2.0 feature
>
>
>
> Good day,
>
> It says here that this issue is already resolved.
> https://issues.apache.org/jira/browse/COUCHDB-523
> I was really looking forward for this feature, so I was wondering is
> there any documentation for this, on how to use the API?
>
> Regards,
> Joey
>
>
>