couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eiri <e...@eiri.ca>
Subject Re: Testing a CouchDB 2.0 feature
Date Fri, 02 Sep 2016 18:27:19 GMT
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 <csharpdeveloper@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" <csharpdeveloper@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" <csharpdeveloper@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" <wohali@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" <csharpdeveloper@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
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>> 
>>> 
> 		 	   		  


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message