Skip to content
This repository was archived by the owner on Nov 5, 2018. It is now read-only.

Question about JSON-encoded parameters... #339

Closed
mattgrande opened this issue Sep 8, 2016 · 1 comment
Closed

Question about JSON-encoded parameters... #339

mattgrande opened this issue Sep 8, 2016 · 1 comment

Comments

@mattgrande
Copy link

mattgrande commented Sep 8, 2016

Hi there, I was doing a compare to see if I would have any problems upgrading from 6.1.5 to 6.2. It mostly looks fine, but one thing caught my eye...

In nano.js, currently line 511, there's this:

var paramsToEncode = ['counts', 'drilldown', 'group_sort', 'ranges', 'sort'];

Each of those query params are JSON encoded. As far as I can tell, those don't have a specific meaning in Couch, though... so why was that added?

https://github.com/dscape/nano/blob/master/lib/nano.js#L509

@jo
Copy link
Contributor

jo commented Sep 9, 2016

I guess this is was meant to be used with cloudant fulltext search: c03b552

@dscape dscape closed this as completed Sep 26, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants