Skip to content
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
Closed

web support search api #153

fengmk2 opened this issue Jan 14, 2014 · 2 comments
Assignees
Labels
Milestone

Comments

@fengmk2
Copy link
Member

@fengmk2 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
Copy link
Member Author

@fengmk2 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
Copy link
Member Author

@fengmk2 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
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
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant