https://github.com/activesphere/nodetoolbox
node.js toolbox
https://github.com/activesphere/nodetoolbox
Last synced: over 1 year ago
JSON representation
node.js toolbox
- Host: GitHub
- URL: https://github.com/activesphere/nodetoolbox
- Owner: activesphere
- Archived: true
- Created: 2011-11-22T17:15:53.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2014-03-17T06:24:52.000Z (over 12 years ago)
- Last Synced: 2024-11-02T02:33:16.334Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://nodetoolbox.com
- Size: 9.49 MB
- Stars: 13
- Watchers: 15
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
-----------------------------
Random stuff that i tend to use often
Conf.metadataDatabase.view('categories/all', {reduce:false}, function(err, res){console.log('got it')})
curl -XPUT 'localhost:9200/_river/registry/_meta' -d '{
"type" : "couchdb",
"couchdb" : {
"host" : "localhost",
"port" : 5984,
"db" : "registry",
"user": "activesphere",
"password": "******",
"ignore_attachments":true,
"filter" : null
},
"index" : {
"index" : "registry",
"type" : "registry",
"bulk_size" : "100",
"bulk_timeout" : "10ms"
}
}'
curl -XGET 'http://localhost:9200/registry/_search?pretty=true' -d '
{
"query" : {
"matchAll" : {}
}
}'
curl -XGET 'http://localhost:9200/registry/_search?pretty=true' -d '
{
"query" : {
"text" : { "description": "directories" }
}
}'