New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web support search api #153

Closed
fengmk2 opened this Issue Jan 14, 2014 · 2 comments

Comments

Projects
None yet
1 participant
@fengmk2
Member

fengmk2 commented Jan 14, 2014

/_list/search/search?startkey="b"&limit=25

just like http://search.npm.taobao.net/_list/search/search?startkey=%22b%22&limit=25

@ghost ghost assigned fengmk2 Jan 14, 2014

@fengmk2

This comment has been minimized.

Member

fengmk2 commented Jan 14, 2014

{
"rows": [
  "key": "node-kpc",
  "count": 1,
  "value": {
"_id": "node-kpc",
"_rev": "15-d0e3632289cd2bb6bc881b058d44e92c",
"name": "node-kpc",
"description": "build KISSY packages",
"dist-tags": {
"latest": "0.2.0"
},
"versions": {
@fengmk2

This comment has been minimized.

Member

fengmk2 commented Jan 14, 2014

startkey: '"' + name + '"',
endkey: '"' + name + 'ZZZZZZZZZZZZZZ"',
limit: 25

@fengmk2 fengmk2 closed this in c8ab173 Jan 14, 2014

dead-horse added a commit that referenced this issue Jan 14, 2014

Merge pull request #154 from cnpm/couch-search-api
support couch db search api. fixed #153
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment