{"_id":"elastical","_rev":"41-5626961754dd09d1db51bac8df565304","name":"elastical","description":"An ElasticSearch client.","dist-tags":{"latest":"0.0.13"},"versions":{"0.0.1":{"name":"elastical","description":"An ElasticSearch client.","version":"0.0.1","homepage":"https://github.com/rgrove/node-elastical/","author":{"name":"Ryan Grove","email":"ryan@wonko.com","url":"http://wonko.com/"},"copyright":"Copyright (c) 2011 Ryan Grove. All rights reserved.","keywords":["elasticsearch","elastic","search","client","lucene"],"licenses":[{"type":"MIT","url":"https://github.com/rgrove/node-elastical/blob/master/LICENSE.md"}],"repository":[{"type":"git","url":"git://github.com/rgrove/node-elastical.git"}],"engines":["node ~0.4.0","npm ~1.0.0"],"dependencies":{"request":"~2.1.1"},"devDependencies":{"vows":"~0.5.11"},"main":"index","scripts":{"test":"node_modules/.bin/vows tests/offline-tests.js"},"_npmJsonOpts":{"file":"/Users/rgrove/.npm/elastical/0.0.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"elastical@0.0.1","_engineSupported":true,"_npmVersion":"1.0.22","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"d4f0d3861b8ca64d8f3d6c1492b458e8c0b3d180","tarball":"https://registry.npmjs.org/elastical/-/elastical-0.0.1.tgz","integrity":"sha512-JD9B9cbaYET1T+8BtlH/VSV3Ukf97lbfj7dfQe9ED2gIwVwSBqv5XxqeXNRMv6BNr2Sr8oEbprtGNLE4B78vyA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCquQ82AltFKNaeI1AxdDVJSv+jNF142k/+xM2QtDrTKgIhANZ7xLrSe4Gxk3jYyeXGPMdU05cUb+hexmtilUwod7iD"}]},"maintainers":[{"name":"rgrove","email":"ryan@wonko.com"}],"directories":{},"_npmUser":{"name":"rgrove","email":"ryan@wonko.com"}},"0.0.2":{"name":"elastical","description":"An ElasticSearch client.","version":"0.0.2","homepage":"https://github.com/rgrove/node-elastical/","author":{"name":"Ryan Grove","email":"ryan@wonko.com","url":"http://wonko.com/"},"copyright":"Copyright (c) 2011 Ryan Grove. All rights reserved.","keywords":["elasticsearch","elastic","search","client","lucene"],"licenses":[{"type":"MIT","url":"https://github.com/rgrove/node-elastical/blob/master/LICENSE.md"}],"repository":[{"type":"git","url":"git://github.com/rgrove/node-elastical.git"}],"engines":["node ~0.4.0","npm ~1.0.0"],"dependencies":{"request":"~2.1.1"},"devDependencies":{"vows":"~0.5.11"},"main":"index","scripts":{"test":"node_modules/.bin/vows tests/offline-tests.js"},"_npmJsonOpts":{"file":"/Users/rgrove/.npm/elastical/0.0.2/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"elastical@0.0.2","_engineSupported":true,"_npmVersion":"1.0.30","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"e1f770a3e88debb84da63a99462c97fd26002bc3","tarball":"https://registry.npmjs.org/elastical/-/elastical-0.0.2.tgz","integrity":"sha512-1YVjY2skvSx6VTsz8FSRQgdeZYVCBrdXr+JSBduGsdZd0KR+Lq9TD9xQUKpL9uBM7CMAaqnN6J7YhUWNuyNt8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICaXE/M6CFlkexZgZXNS3HoOu6NaQ96Ug4dwdaOeOWneAiAqxtV5eIqz4YkFLCSrXSNaItz2mVq1mmz/lr+KPjT65w=="}]},"maintainers":[{"name":"rgrove","email":"ryan@wonko.com"}],"directories":{},"_npmUser":{"name":"rgrove","email":"ryan@wonko.com"}},"0.0.3":{"name":"elastical","description":"An ElasticSearch client.","version":"0.0.3","homepage":"https://github.com/rgrove/node-elastical/","author":{"name":"Ryan Grove","email":"ryan@wonko.com","url":"http://wonko.com/"},"copyright":"Copyright (c) 2011 Ryan Grove. All rights reserved.","keywords":["elasticsearch","elastic","search","client","lucene"],"licenses":[{"type":"MIT","url":"https://github.com/rgrove/node-elastical/blob/master/LICENSE.md"}],"repository":[{"type":"git","url":"git://github.com/rgrove/node-elastical.git"}],"engines":["node >=0.4.0 <0.7.0","npm ~1.0.0"],"dependencies":{"request":"~2.1.1"},"devDependencies":{"vows":"~0.5.11"},"main":"index","scripts":{"test":"node_modules/.bin/vows tests/offline-tests.js"},"_npmUser":{"name":"rgrove","email":"ryan@wonko.com"},"_id":"elastical@0.0.3","_engineSupported":true,"_npmVersion":"1.0.103","_nodeVersion":"v0.5.10","_defaultsLoaded":true,"dist":{"shasum":"5eac5e2353060fab356a8acee5ecbf8848cd6503","tarball":"https://registry.npmjs.org/elastical/-/elastical-0.0.3.tgz","integrity":"sha512-w9cl7QcXH5q8q1zIQ85daeiuMHYr1j29rDQYnx5L5U7Ro3/hMELFKtTd4vRaoCGAjhYFHH+hFcA8JVfkK/Iwuw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE91kECiGVTDQjcXtxHaBJCh9v3P2V1Z1zFZL2iZjk/dAiEAi5WiV7eVP33YrMsfLfQJ1u0auCU5bdwryM0wLnrlDSE="}]},"maintainers":[{"name":"rgrove","email":"ryan@wonko.com"}]},"0.0.4":{"name":"elastical","description":"An ElasticSearch client.","version":"0.0.4","homepage":"https://github.com/rgrove/node-elastical/","author":{"name":"Ryan Grove","email":"ryan@wonko.com","url":"http://wonko.com/"},"copyright":"Copyright (c) 2011 Ryan Grove. All rights reserved.","keywords":["elasticsearch","elastic","search","client","lucene"],"licenses":[{"type":"MIT","url":"https://github.com/rgrove/node-elastical/blob/master/LICENSE.md"}],"repository":[{"type":"git","url":"git://github.com/rgrove/node-elastical.git"}],"engines":["node >=0.4.0 <0.7.0","npm ~1.0.0"],"dependencies":{"request":"~2.1.1"},"devDependencies":{"vows":"~0.5.11"},"main":"index","scripts":{"test":"node_modules/.bin/vows tests/offline-tests.js"},"_npmUser":{"name":"rgrove","email":"ryan@wonko.com"},"_id":"elastical@0.0.4","_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.1","_defaultsLoaded":true,"dist":{"shasum":"0dad7f7b7d0cf2bbc83846c038bea398b1a9b362","tarball":"https://registry.npmjs.org/elastical/-/elastical-0.0.4.tgz","integrity":"sha512-M8GyQVhlE0UzSc0LSETqjrdz/n3FbS2A7By0d5PBmPuTcxXFt61eoPn/9APX8jiRjQxT//866qqrohuqHKPTkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFMUhKTcVj755gaz/Bq0G9XDk6WLIw/x4F6auYGhOmPwAiBqlXLynIrocciq7O6BeNjeR5/PC+hT15bd70mIXPUIjg=="}]},"maintainers":[{"name":"rgrove","email":"ryan@wonko.com"}]},"0.0.5":{"name":"elastical","description":"An ElasticSearch client.","version":"0.0.5","homepage":"https://github.com/rgrove/node-elastical/","author":{"name":"Ryan Grove","email":"ryan@wonko.com","url":"http://wonko.com/"},"copyright":"Copyright (c) 2011 Ryan Grove. All rights reserved.","keywords":["elasticsearch","elastic","search","client","lucene"],"licenses":[{"type":"MIT","url":"https://github.com/rgrove/node-elastical/blob/master/LICENSE.md"}],"repository":[{"type":"git","url":"git://github.com/rgrove/node-elastical.git"}],"engines":["node >=0.4.0 <0.7.0","npm ~1.0.0"],"dependencies":{"request":"~2.2.0"},"devDependencies":{"vows":"~0.5.11"},"main":"index","scripts":{"test":"node_modules/.bin/vows tests/offline-tests.js"},"_npmUser":{"name":"rgrove","email":"ryan@wonko.com"},"_id":"elastical@0.0.5","_engineSupported":true,"_npmVersion":"1.0.101","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"d9e0ef1a7cbac7fbcffa4718ebd71e99c9133c90","tarball":"https://registry.npmjs.org/elastical/-/elastical-0.0.5.tgz","integrity":"sha512-Nu8QMEPPlw5hZMnCS3LTBFV3aFgJ0jbIP+j4bawT2GjSnMCyg6sPIJEVOrk2VauVBxbaRuAA7HSjZy+wQllkdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICZuhwASt4/XLGEuTZy7N7DrDMZOjfe0wE69VZXSdK2ZAiEAgDPZ74s7q7U6ghDXrK+ftG1b66Hjl5FWHB5bhNltW1I="}]},"maintainers":[{"name":"rgrove","email":"ryan@wonko.com"}]},"0.0.6":{"name":"elastical","description":"An ElasticSearch client.","version":"0.0.6","homepage":"https://github.com/rgrove/node-elastical/","author":{"name":"Ryan Grove","email":"ryan@wonko.com","url":"http://wonko.com/"},"copyright":"Copyright (c) 2011 Ryan Grove. All rights reserved.","keywords":["elasticsearch","elastic","search","client","lucene"],"licenses":[{"type":"MIT","url":"https://github.com/rgrove/node-elastical/blob/master/LICENSE.md"}],"repository":[{"type":"git","url":"git://github.com/rgrove/node-elastical.git"}],"engines":["node >=0.4.0 <0.7.0","npm >=1.0.0"],"dependencies":{"request":"~2.2.0"},"devDependencies":{"vows":"~0.5.11"},"main":"index","scripts":{"test":"node_modules/.bin/vows tests/offline-tests.js"},"_npmUser":{"name":"rgrove","email":"ryan@wonko.com"},"_id":"elastical@0.0.6","_engineSupported":true,"_npmVersion":"1.0.101","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"aa2a13a8a6a8d75043a0491efc858fe297d82f48","tarball":"https://registry.npmjs.org/elastical/-/elastical-0.0.6.tgz","integrity":"sha512-KvYWauxf5O98vm4dU0odtr0LqfafAzWtQ1mwg1hQmO9MozqP2x0V5WL33g5YvKzKSsUSnMAKgfzcDcyu7y7IHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOt1sVw9hDOY4NcMYKH2kRBsKuwc1d/k5D+MSthgr8uwIgA2eKS5K4JMQMwEQ/VSKDhvO8rMLnvtlUBDMxfNVrXho="}]},"maintainers":[{"name":"rgrove","email":"ryan@wonko.com"}]},"0.0.7":{"name":"elastical","description":"An ElasticSearch client.","version":"0.0.7","homepage":"https://github.com/rgrove/node-elastical/","author":{"name":"Ryan Grove","email":"ryan@wonko.com","url":"http://wonko.com/"},"copyright":"Copyright (c) 2012 Ryan Grove. All rights reserved.","keywords":["elasticsearch","elastic","search","client","lucene"],"licenses":[{"type":"MIT","url":"https://github.com/rgrove/node-elastical/blob/master/LICENSE.md"}],"repository":[{"type":"git","url":"git://github.com/rgrove/node-elastical.git"}],"engines":["node >=0.4.0 <0.7.0","npm >=1.0.0"],"dependencies":{"request":"~2.9.3"},"devDependencies":{"vows":"~0.6.1"},"main":"index","scripts":{"test":"node_modules/.bin/vows tests/offline-tests.js"},"_npmUser":{"name":"rgrove","email":"ryan@wonko.com"},"_id":"elastical@0.0.7","_engineSupported":true,"_npmVersion":"1.1.0-beta-10","_nodeVersion":"v0.6.7","_defaultsLoaded":true,"dist":{"shasum":"96e1fa4ecd3b532809603a197972ad70ce075998","tarball":"https://registry.npmjs.org/elastical/-/elastical-0.0.7.tgz","integrity":"sha512-K6VeIzSBqAVkST1MQvoOSEeNE2Rtb0HWAZTLc46je2JII56sKijJ8ZEW8E5h19t83ljB+BTBF/wuZzvTpqFiCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBLTbH+uTYe7bEMpl26nbdeRc9ehtcAiy60pPLaRjeOPAiB7nMF+/YgS4EEm2RoRIc44b8Ja6ZGTD3gvm7fXNq07aQ=="}]},"readme":"Elastical\n=========\n\nElastical is a Node.js client library for the\n[ElasticSearch](http://www.elasticsearch.org) REST API.\n\nIt's not quite finished, but what's done so far has doc comments and unit tests.\nKeep an eye on this repo for updates.\n\n\nInstalling\n----------\n\nLatest released version:\n\n    npm install elastical\n\nLatest dev code:\n\n    npm install https://github.com/rgrove/node-elastical/tarball/master\n\n\nBasic Usage\n-----------\n\nRequire elastical:\n\n```js\nvar elastical = require('elastical');\n```\n\nInstantiate an Elastical client that will connect to http://127.0.0.1:9200:\n\n```js\nvar client = new elastical.Client();\n```\n\nOr specify a custom host and port:\n\n```js\nvar client = new elastical.Client('example.com', {port: 1234});\n```\n\nIndex a document:\n\n```js\n// Specify the index name, document type, and document to index.\nclient.index('blog', 'post', {\n    title: \"Welcome to my stupid blog\",\n    body : \"This is the only thing I'll ever post.\",\n    tags : [\"welcome\", \"first post\", \"last post\"]\n}, function (err, res) {\n    // `err` is an Error, or `null` on success.\n    // `res` is the parsed ElasticSearch response data.\n});\n```\n\nRetrieve a previously-indexed document by id:\n\n```js\n// Specify the index and the document id.\nclient.get('blog', '42', function (err, doc, res) {\n    // `err` is an Error, or `null` on success.\n    // `doc` is the parsed document data.\n    // `res` is the full parsed ElasticSearch response data.\n});\n```\n\nPerform a search:\n\n```js\n// Simple string query (automatically turned into a query_string query).\nclient.search({query: 'welcome'}, function (err, results, res) {\n    // `err` is an Error, or `null` on success.\n    // `results` is an object containing search hits.\n    // `res` is the full parsed ElasticSearch response data.\n});\n\n// Custom query options (this is equivalent to the previous example, just\n// without the magic).\nclient.search({\n    query: {query_string: {query: 'welcome'}}\n}, function (err, results, res) {\n    // ...\n});\n```\n\nSee the doc comments in the source for more details on available methods and\noptions.\n\n\nDeveloping\n----------\n\nFork the git repo, clone it, then install the dev dependencies.\n\n    cd elastical\n    npm install\n\nMake your changes, add tests, then run the tests to make sure nothing broke.\n\n    make test\n\nThis will run both offline and online tests. Online tests require an\nElasticSearch server running at http://127.0.0.1:9200/. If you only want to run\nthe offline tests (which don't require a server), run:\n\n    make offline-tests\n\n\nPull Requests\n-------------\n\nBefore embarking on any major changes, please drop me a note first just to make\nsure I'm not already working on something similar. This could save us both some\ntrouble.\n\nPlease make your changes in a topic branch and submit a pull request describing\nwhat the changes do and why I should merge them. Save time by including good\noffline and online tests for your changes (if you don't, I'll just ask you to\nadd them). Thanks!\n\n\nSupport\n-------\n\nNope.\n\n\nLicense\n-------\n\nCopyright (c) 2012 Ryan Grove (ryan@wonko.com)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the 'Software'), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","maintainers":[{"name":"rgrove","email":"ryan@wonko.com"}]},"0.0.8":{"name":"elastical","description":"An ElasticSearch client.","version":"0.0.8","homepage":"https://github.com/rgrove/node-elastical/","author":{"name":"Ryan Grove","email":"ryan@wonko.com","url":"http://wonko.com/"},"copyright":"Copyright (c) 2012 Ryan Grove. All rights reserved.","keywords":["elasticsearch","elastic","search","client","lucene"],"licenses":[{"type":"MIT","url":"https://github.com/rgrove/node-elastical/blob/master/LICENSE.md"}],"repository":[{"type":"git","url":"git://github.com/rgrove/node-elastical.git"}],"engines":["node >=0.4.0 <0.7.0","npm >=1.0.0"],"dependencies":{"request":">=2.9.3 <=2.9.200"},"devDependencies":{"vows":"~0.6.1"},"main":"index","scripts":{"test":"node_modules/.bin/vows tests/offline-tests.js"},"_npmUser":{"name":"rgrove","email":"ryan@wonko.com"},"_id":"elastical@0.0.8","_engineSupported":true,"_npmVersion":"1.1.0-beta-10","_nodeVersion":"v0.6.7","_defaultsLoaded":true,"dist":{"shasum":"729ce84115e2e3bfae579c1b8f7e58e0130e8b77","tarball":"https://registry.npmjs.org/elastical/-/elastical-0.0.8.tgz","integrity":"sha512-jPbjiiqQSsRY8SoWmr3Lz9YlemWNpLG5wVTjKQowp80J3gJ4R96cXcBZwU4wxq5QQcuZDqZeoGEkVDQ9BfV8XA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICln5hxucfzkuxXJLEgTaULg0zOgVXQzi31i+t/vQJ9QAiEAiFJSkmZTu3KyKqM1ZdVQN5oVgYFp1lw01XiZ9oI9uPs="}]},"readme":"Elastical\n=========\n\nElastical is a Node.js client library for the\n[ElasticSearch](http://www.elasticsearch.org) REST API.\n\nIt's not quite finished, but what's done so far has doc comments and unit tests.\nKeep an eye on this repo for updates.\n\n\nInstalling\n----------\n\nLatest released version:\n\n    npm install elastical\n\nLatest dev code:\n\n    npm install https://github.com/rgrove/node-elastical/tarball/master\n\n\nBasic Usage\n-----------\n\nRequire elastical:\n\n```js\nvar elastical = require('elastical');\n```\n\nInstantiate an Elastical client that will connect to http://127.0.0.1:9200:\n\n```js\nvar client = new elastical.Client();\n```\n\nOr specify a custom host and port:\n\n```js\nvar client = new elastical.Client('example.com', {port: 1234});\n```\n\nIndex a document:\n\n```js\n// Specify the index name, document type, and document to index.\nclient.index('blog', 'post', {\n    title: \"Welcome to my stupid blog\",\n    body : \"This is the only thing I'll ever post.\",\n    tags : [\"welcome\", \"first post\", \"last post\"]\n}, function (err, res) {\n    // `err` is an Error, or `null` on success.\n    // `res` is the parsed ElasticSearch response data.\n});\n```\n\nRetrieve a previously-indexed document by id:\n\n```js\n// Specify the index and the document id.\nclient.get('blog', '42', function (err, doc, res) {\n    // `err` is an Error, or `null` on success.\n    // `doc` is the parsed document data.\n    // `res` is the full parsed ElasticSearch response data.\n});\n```\n\nPerform a search:\n\n```js\n// Simple string query (automatically turned into a query_string query).\nclient.search({query: 'welcome'}, function (err, results, res) {\n    // `err` is an Error, or `null` on success.\n    // `results` is an object containing search hits.\n    // `res` is the full parsed ElasticSearch response data.\n});\n\n// Custom query options (this is equivalent to the previous example, just\n// without the magic).\nclient.search({\n    query: {query_string: {query: 'welcome'}}\n}, function (err, results, res) {\n    // ...\n});\n```\n\nSee the doc comments in the source for more details on available methods and\noptions.\n\n\nDeveloping\n----------\n\nFork the git repo, clone it, then install the dev dependencies.\n\n    cd elastical\n    npm install\n\nMake your changes, add tests, then run the tests to make sure nothing broke.\n\n    make test\n\nThis will run both offline and online tests. Online tests require an\nElasticSearch server running at http://127.0.0.1:9200/. If you only want to run\nthe offline tests (which don't require a server), run:\n\n    make offline-tests\n\n\nPull Requests\n-------------\n\nBefore embarking on any major changes, please drop me a note first just to make\nsure I'm not already working on something similar. This could save us both some\ntrouble.\n\nPlease make your changes in a topic branch and submit a pull request describing\nwhat the changes do and why I should merge them. Save time by including good\noffline and online tests for your changes (if you don't, I'll just ask you to\nadd them). Thanks!\n\n\nSupport\n-------\n\nNope.\n\n\nLicense\n-------\n\nCopyright (c) 2012 Ryan Grove (ryan@wonko.com)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the 'Software'), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","maintainers":[{"name":"rgrove","email":"ryan@wonko.com"}]},"0.0.9":{"name":"elastical","description":"An ElasticSearch client.","version":"0.0.9","homepage":"https://github.com/rgrove/node-elastical/","author":{"name":"Ryan Grove","email":"ryan@wonko.com","url":"http://wonko.com/"},"copyright":"Copyright (c) 2012 Ryan Grove. All rights reserved.","keywords":["elasticsearch","elastic","search","client","lucene"],"licenses":[{"type":"MIT","url":"https://github.com/rgrove/node-elastical/blob/master/LICENSE.md"}],"repository":[{"type":"git","url":"git://github.com/rgrove/node-elastical.git"}],"engines":["node >=0.4.0","npm >=1.0.0"],"dependencies":{"request":">=2.9.3 <=2.9.200"},"devDependencies":{"vows":"~0.6.1"},"main":"index","scripts":{"test":"node_modules/.bin/vows tests/offline-tests.js"},"readme":"Elastical\n=========\n\nElastical is a Node.js client library for the\n[ElasticSearch](http://www.elasticsearch.org) REST API.\n\nIt's not quite finished, but what's done so far has doc comments and unit tests.\nKeep an eye on this repo for updates.\n\n\nInstalling\n----------\n\nLatest released version:\n\n    npm install elastical\n\nLatest dev code:\n\n    npm install https://github.com/rgrove/node-elastical/tarball/master\n\n\nBasic Usage\n-----------\n\nRequire elastical:\n\n```js\nvar elastical = require('elastical');\n```\n\nInstantiate an Elastical client that will connect to http://127.0.0.1:9200:\n\n```js\nvar client = new elastical.Client();\n```\n\nOr specify a custom host and port:\n\n```js\nvar client = new elastical.Client('example.com', {port: 1234});\n```\n\nIndex a document:\n\n```js\n// Specify the index name, document type, and document to index.\nclient.index('blog', 'post', {\n    title: \"Welcome to my stupid blog\",\n    body : \"This is the only thing I'll ever post.\",\n    tags : [\"welcome\", \"first post\", \"last post\"]\n}, function (err, res) {\n    // `err` is an Error, or `null` on success.\n    // `res` is the parsed ElasticSearch response data.\n});\n```\n\nRetrieve a previously-indexed document by id:\n\n```js\n// Specify the index and the document id.\nclient.get('blog', '42', function (err, doc, res) {\n    // `err` is an Error, or `null` on success.\n    // `doc` is the parsed document data.\n    // `res` is the full parsed ElasticSearch response data.\n});\n```\n\nPerform a search:\n\n```js\n// Simple string query (automatically turned into a query_string query).\nclient.search({query: 'welcome'}, function (err, results, res) {\n    // `err` is an Error, or `null` on success.\n    // `results` is an object containing search hits.\n    // `res` is the full parsed ElasticSearch response data.\n});\n\n// Custom query options (this is equivalent to the previous example, just\n// without the magic).\nclient.search({\n    query: {query_string: {query: 'welcome'}}\n}, function (err, results, res) {\n    // ...\n});\n```\n\nSee the doc comments in the source for more details on available methods and\noptions.\n\n\nDeveloping\n----------\n\nFork the git repo, clone it, then install the dev dependencies.\n\n    cd elastical\n    npm install\n\nMake your changes, add tests, then run the tests to make sure nothing broke.\n\n    make test\n\nThis will run both offline and online tests. Online tests require an\nElasticSearch server running at http://127.0.0.1:9200/. If you only want to run\nthe offline tests (which don't require a server), run:\n\n    make offline-tests\n\n\nPull Requests\n-------------\n\nBefore embarking on any major changes, please drop me a note first just to make\nsure I'm not already working on something similar. This could save us both some\ntrouble.\n\nPlease make your changes in a topic branch and submit a pull request describing\nwhat the changes do and why I should merge them. Save time by including good\noffline and online tests for your changes (if you don't, I'll just ask you to\nadd them). Thanks!\n\n\nSupport\n-------\n\nNope.\n\n\nLicense\n-------\n\nCopyright (c) 2012 Ryan Grove (ryan@wonko.com)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the 'Software'), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"elastical@0.0.9","dist":{"shasum":"4198c52fca456c9820debd54af855b609e10cab4","tarball":"https://registry.npmjs.org/elastical/-/elastical-0.0.9.tgz","integrity":"sha512-tuUGZ70XX8S1J2DEEMfBin0usXceSqPTb6ddP3TetS/iflojmjAMHuW4sphSruBnFSGuNsZdM+E615d8S104Eg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC/+pZGLZPjY4ThbJnQk2AfBTQ1Ao4gt7uPJ+JJ+454HAiAdTDuN0Wa2wQ1pQ1PtivSY0wxUuyo/EywHC/eSHG3Tpg=="}]},"maintainers":[{"name":"rgrove","email":"ryan@wonko.com"}]},"0.0.10":{"name":"elastical","description":"An ElasticSearch client.","version":"0.0.10","homepage":"https://github.com/ramv/node-elastical/","author":{"name":"Ryan Grove","email":"ryan@wonko.com","url":"http://wonko.com/"},"copyright":"Copyright (c) 2012 Ryan Grove. All rights reserved.","keywords":["elasticsearch","elastic","search","client","lucene"],"licenses":[{"type":"MIT","url":"https://github.com/ramv/node-elastical/blob/master/LICENSE.md"}],"repository":[{"type":"git","url":"git://github.com/ramv/node-elastical.git"}],"engines":["node >=0.4.0","npm >=1.0.0"],"dependencies":{"request":">=2.9.3 <=2.9.200","diff":">=1.0.3"},"devDependencies":{"vows":"~0.6.4"},"main":"index","scripts":{"test":"node_modules/.bin/vows tests/offline-tests.js"},"readme":"Elastical\n=========\n\nElastical is a Node.js client library for the\n[ElasticSearch](http://www.elasticsearch.org) REST API.\n\nIt's not quite finished, but what's done so far has doc comments and unit tests.\nKeep an eye on this repo for updates.\n\n\nInstalling\n----------\n\nLatest released version:\n\n    npm install elastical\n\nLatest dev code:\n\n    npm install https://github.com/rgrove/node-elastical/tarball/master\n\n\nBasic Usage\n-----------\n\nRequire elastical:\n\n```js\nvar elastical = require('elastical');\n```\n\nInstantiate an Elastical client that will connect to http://127.0.0.1:9200:\n\n```js\nvar client = new elastical.Client();\n```\n\nOr specify a custom host and port:\n\n```js\nvar client = new elastical.Client('example.com', {port: 1234});\n```\n\nIndex a document:\n\n```js\n// Specify the index name, document type, and document to index.\nclient.index('blog', 'post', {\n    title: \"Welcome to my stupid blog\",\n    body : \"This is the only thing I'll ever post.\",\n    tags : [\"welcome\", \"first post\", \"last post\"]\n}, function (err, res) {\n    // `err` is an Error, or `null` on success.\n    // `res` is the parsed ElasticSearch response data.\n});\n```\n\nRetrieve a previously-indexed document by id:\n\n```js\n// Specify the index and the document id.\nclient.get('blog', '42', function (err, doc, res) {\n    // `err` is an Error, or `null` on success.\n    // `doc` is the parsed document data.\n    // `res` is the full parsed ElasticSearch response data.\n});\n```\n\nPerform a search:\n\n```js\n// Simple string query (automatically turned into a query_string query).\nclient.search({query: 'welcome'}, function (err, results, res) {\n    // `err` is an Error, or `null` on success.\n    // `results` is an object containing search hits.\n    // `res` is the full parsed ElasticSearch response data.\n});\n\n// Custom query options (this is equivalent to the previous example, just\n// without the magic).\nclient.search({\n    query: {query_string: {query: 'welcome'}}\n}, function (err, results, res) {\n    // ...\n});\n```\n\nSee the doc comments in the source for more details on available methods and\noptions.\n\n\nDeveloping\n----------\n\nFork the git repo, clone it, then install the dev dependencies.\n\n    cd elastical\n    npm install\n\nMake your changes, add tests, then run the tests to make sure nothing broke.\n\n    make test\n\nThis will run both offline and online tests. Online tests require an\nElasticSearch server running at http://127.0.0.1:9200/. If you only want to run\nthe offline tests (which don't require a server), run:\n\n    make offline-tests\n\n\nPull Requests\n-------------\n\nBefore embarking on any major changes, please drop me a note first just to make\nsure I'm not already working on something similar. This could save us both some\ntrouble.\n\nPlease make your changes in a topic branch and submit a pull request describing\nwhat the changes do and why I should merge them. Save time by including good\noffline and online tests for your changes (if you don't, I'll just ask you to\nadd them). Thanks!\n\n\nSupport\n-------\n\nNope.\n\n\nLicense\n-------\n\nCopyright (c) 2012 Ryan Grove (ryan@wonko.com)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the 'Software'), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"elastical@0.0.10","dist":{"shasum":"5191e016d5816832396b6c048f5e4d29d4f782ca","tarball":"https://registry.npmjs.org/elastical/-/elastical-0.0.10.tgz","integrity":"sha512-CF3OxwBb5dssVDCeimBjrd5CjT0nNd5CWe8TbFDCd895Q+KpYcNek9pHCQ6q5d8yu+RJI47UfxZEno7FLD7AJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDatwue2zKLY+tIuj+rIQwqRDMrYo4XmfiSmp1UFKBM5gIgZdJpWBGug8rokD4AgdZ+Xtn+ccTVEYyXc8xevr/SY1g="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"rramv","email":"rviswanadha@gmail.com"},"maintainers":[{"name":"rgrove","email":"ryan@wonko.com"},{"name":"rramv","email":"rviswanadha@gmail.com"}]},"0.0.11":{"name":"elastical","description":"An ElasticSearch client.","version":"0.0.11","homepage":"https://github.com/ramv/node-elastical/","author":{"name":"Ryan Grove","email":"ryan@wonko.com","url":"http://wonko.com/"},"copyright":"Copyright (c) 2013 Ryan Grove. All rights reserved.","keywords":["elasticsearch","elastic","search","client","lucene"],"licenses":[{"type":"MIT","url":"https://github.com/ramv/node-elastical/blob/master/LICENSE.md"}],"repository":[{"type":"git","url":"git://github.com/ramv/node-elastical.git"}],"engines":["node >=0.4.0","npm >=1.0.0"],"dependencies":{"request":">=2.9.3 <=2.9.200","diff":">=1.0.3"},"devDependencies":{"vows":"~0.6.4"},"main":"index","scripts":{"test":"node_modules/.bin/vows tests/offline-tests.js"},"readme":"Elastical\n=========\n\nElastical is a Node.js client library for the\n[ElasticSearch](http://www.elasticsearch.org) REST API.\n\nIt's not quite finished, but what's done so far has doc comments and unit tests.\nKeep an eye on this repo for updates.\n\n\nInstalling\n----------\n\nLatest released version:\n\n    npm install elastical\n\nLatest dev code:\n\n    npm install https://github.com/rgrove/node-elastical/tarball/master\n\n\nBasic Usage\n-----------\n\nRequire elastical:\n\n```js\nvar elastical = require('elastical');\n```\n\nInstantiate an Elastical client that will connect to http://127.0.0.1:9200:\n\n```js\nvar client = new elastical.Client();\n```\n\nOr specify a custom host and port:\n\n```js\nvar client = new elastical.Client('example.com', {port: 1234});\n```\n\nIndex a document:\n\n```js\n// Specify the index name, document type, and document to index.\nclient.index('blog', 'post', {\n    title: \"Welcome to my stupid blog\",\n    body : \"This is the only thing I'll ever post.\",\n    tags : [\"welcome\", \"first post\", \"last post\"]\n}, function (err, res) {\n    // `err` is an Error, or `null` on success.\n    // `res` is the parsed ElasticSearch response data.\n});\n```\n\nRetrieve a previously-indexed document by id:\n\n```js\n// Specify the index and the document id.\nclient.get('blog', '42', function (err, doc, res) {\n    // `err` is an Error, or `null` on success.\n    // `doc` is the parsed document data.\n    // `res` is the full parsed ElasticSearch response data.\n});\n```\n\nPerform a search:\n\n```js\n// Simple string query (automatically turned into a query_string query).\nclient.search({query: 'welcome'}, function (err, results, res) {\n    // `err` is an Error, or `null` on success.\n    // `results` is an object containing search hits.\n    // `res` is the full parsed ElasticSearch response data.\n});\n\n// Custom query options (this is equivalent to the previous example, just\n// without the magic).\nclient.search({\n    query: {query_string: {query: 'welcome'}}\n}, function (err, results, res) {\n    // ...\n});\n```\n\nSee the doc comments in the source for more details on available methods and\noptions.\n\n\nDeveloping\n----------\n\nFork the git repo, clone it, then install the dev dependencies.\n\n    cd elastical\n    npm install\n\nMake your changes, add tests, then run the tests to make sure nothing broke.\n\n    make test\n\nThis will run both offline and online tests. Online tests require an\nElasticSearch server running at http://127.0.0.1:9200/. If you only want to run\nthe offline tests (which don't require a server), run:\n\n    make offline-tests\n\n\nPull Requests\n-------------\n\nBefore embarking on any major changes, please drop me a note first just to make\nsure I'm not already working on something similar. This could save us both some\ntrouble.\n\nPlease make your changes in a topic branch and submit a pull request describing\nwhat the changes do and why I should merge them. Save time by including good\noffline and online tests for your changes (if you don't, I'll just ask you to\nadd them). Thanks!\n\n\nSupport\n-------\n\nNope.\n\n\nLicense\n-------\n\nCopyright (c) 2012 Ryan Grove (ryan@wonko.com)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the 'Software'), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"elastical@0.0.11","dist":{"shasum":"324bd8c4c9fe4dd21d6c23f9c093d88b29392e1d","tarball":"https://registry.npmjs.org/elastical/-/elastical-0.0.11.tgz","integrity":"sha512-55fChLxxuO5eLzFpS56OgZQAKlq/UCp0v9+/2s+nJ5wPQi3p9/5ZyIj1XeaQ3zHflurJG3PIdbt4Vqf2AFOrjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZzbAs1bR9hk6s5SHrAtNQ7ZOXvGUItUBYA7yho6s3zwIgSq103tyPuXN23yT+8/NrOXJ3EnPv7E3ev+bbQlfJycs="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"rramv","email":"rviswanadha@gmail.com"},"maintainers":[{"name":"rgrove","email":"ryan@wonko.com"},{"name":"rramv","email":"rviswanadha@gmail.com"}]},"0.0.12":{"name":"elastical","description":"An ElasticSearch client.","version":"0.0.12","homepage":"https://github.com/ramv/node-elastical/","author":{"name":"Ryan Grove","email":"ryan@wonko.com","url":"http://wonko.com/"},"copyright":"Copyright (c) 2013 Ryan Grove. All rights reserved.","keywords":["elasticsearch","elastic","search","client","lucene"],"licenses":[{"type":"MIT","url":"https://github.com/ramv/node-elastical/blob/master/LICENSE.md"}],"repository":[{"type":"git","url":"git://github.com/ramv/node-elastical.git"}],"engines":["node >=0.4.0","npm >=1.0.0"],"dependencies":{"request":">=2.9.200","diff":">=1.0.3"},"devDependencies":{"vows":"*"},"main":"index","scripts":{"test":"node_modules/.bin/vows tests/offline-tests.js"},"readme":"Elastical\n=========\n\nElastical is a Node.js client library for the\n[ElasticSearch](http://www.elasticsearch.org) REST API.\n\nIt's not quite finished, but what's done so far has doc comments and unit tests.\nKeep an eye on this repo for updates.\n\n\nInstalling\n----------\n\nLatest released version:\n\n    npm install elastical\n\nLatest dev code:\n\n    npm install https://github.com/rgrove/node-elastical/tarball/master\n\n\nBasic Usage\n-----------\n\nRequire elastical:\n\n```js\nvar elastical = require('elastical');\n```\n\nInstantiate an Elastical client that will connect to http://127.0.0.1:9200:\n\n```js\nvar client = new elastical.Client();\n```\n\nOr specify a custom host and port:\n\n```js\nvar client = new elastical.Client('example.com', {port: 1234});\n```\n\nIndex a document:\n\n```js\n// Specify the index name, document type, and document to index.\nclient.index('blog', 'post', {\n    title: \"Welcome to my stupid blog\",\n    body : \"This is the only thing I'll ever post.\",\n    tags : [\"welcome\", \"first post\", \"last post\"]\n}, function (err, res) {\n    // `err` is an Error, or `null` on success.\n    // `res` is the parsed ElasticSearch response data.\n});\n```\n\nRetrieve a previously-indexed document by id:\n\n```js\n// Specify the index and the document id.\nclient.get('blog', '42', function (err, doc, res) {\n    // `err` is an Error, or `null` on success.\n    // `doc` is the parsed document data.\n    // `res` is the full parsed ElasticSearch response data.\n});\n```\n\nPerform a search:\n\n```js\n// Simple string query (automatically turned into a query_string query).\nclient.search({query: 'welcome'}, function (err, results, res) {\n    // `err` is an Error, or `null` on success.\n    // `results` is an object containing search hits.\n    // `res` is the full parsed ElasticSearch response data.\n});\n\n// Custom query options (this is equivalent to the previous example, just\n// without the magic).\nclient.search({\n    query: {query_string: {query: 'welcome'}}\n}, function (err, results, res) {\n    // ...\n});\n```\n\nSee the doc comments in the source for more details on available methods and\noptions.\n\n\nDeveloping\n----------\n\nFork the git repo, clone it, then install the dev dependencies.\n\n    cd elastical\n    npm install\n\nMake your changes, add tests, then run the tests to make sure nothing broke.\n\n    make test\n\nThis will run both offline and online tests. Online tests require an\nElasticSearch server running at http://127.0.0.1:9200/. If you only want to run\nthe offline tests (which don't require a server), run:\n\n    make offline-tests\n\n\nPull Requests\n-------------\n\nBefore embarking on any major changes, please drop me a note first just to make\nsure I'm not already working on something similar. This could save us both some\ntrouble.\n\nPlease make your changes in a topic branch and submit a pull request describing\nwhat the changes do and why I should merge them. Save time by including good\noffline and online tests for your changes (if you don't, I'll just ask you to\nadd them). Thanks!\n\n\nSupport\n-------\n\nNope.\n\n\nLicense\n-------\n\nCopyright (c) 2012 Ryan Grove (ryan@wonko.com)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the 'Software'), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"elastical@0.0.12","dist":{"shasum":"0514e907283dd91fe20c4f2f5e2d0818f74adfec","tarball":"https://registry.npmjs.org/elastical/-/elastical-0.0.12.tgz","integrity":"sha512-iYcXgdjxuou7X8CsGtPxN161x7JcYQhH/mDGZccFMZZkE4rKWY6m4k4dBg88CtiRvkXC787QYfmo6fA8WYgPkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQkk5fCDC8C+Bcv0o1stCEIu1fO3zFc4D7XFoUtb2mBAIgZdckNhyX3sv5KclgXoXyANHqFaIw5cG7VuLSMpReoaE="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"rramv","email":"rviswanadha@gmail.com"},"maintainers":[{"name":"rgrove","email":"ryan@wonko.com"},{"name":"rramv","email":"rviswanadha@gmail.com"}]},"0.0.13":{"name":"elastical","description":"An ElasticSearch client.","version":"0.0.13","homepage":"https://github.com/ramv/node-elastical/","author":{"name":"Ryan Grove","email":"ryan@wonko.com","url":"http://wonko.com/"},"copyright":"Copyright (c) 2013 Ryan Grove. All rights reserved.","keywords":["elasticsearch","elastic","search","client","lucene"],"licenses":[{"type":"MIT","url":"https://github.com/ramv/node-elastical/blob/master/LICENSE.md"}],"repository":[{"type":"git","url":"git://github.com/ramv/node-elastical.git"}],"engines":["node >=0.4.0","npm >=1.0.0"],"dependencies":{"request":">=2.9.200","diff":">=1.0.3"},"devDependencies":{"vows":"*"},"main":"index","scripts":{"test":"node_modules/.bin/vows tests/offline-tests.js"},"readme":"Elastical\n=========\n\nElastical is a Node.js client library for the\n[ElasticSearch](http://www.elasticsearch.org) REST API.\n\nIt's not quite finished, but what's done so far has doc comments and unit tests.\nKeep an eye on this repo for updates.\n\n\nInstalling\n----------\n\nLatest released version:\n\n    npm install elastical\n\nLatest dev code:\n\n    npm install https://github.com/rgrove/node-elastical/tarball/master\n\n\nBasic Usage\n-----------\n\nRequire elastical:\n\n```js\nvar elastical = require('elastical');\n```\n\nInstantiate an Elastical client that will connect to http://127.0.0.1:9200:\n\n```js\nvar client = new elastical.Client();\n```\n\nOr specify a custom host and port:\n\n```js\nvar client = new elastical.Client('example.com', {port: 1234});\n```\n\nIndex a document:\n\n```js\n// Specify the index name, document type, and document to index.\nclient.index('blog', 'post', {\n    title: \"Welcome to my stupid blog\",\n    body : \"This is the only thing I'll ever post.\",\n    tags : [\"welcome\", \"first post\", \"last post\"]\n}, function (err, res) {\n    // `err` is an Error, or `null` on success.\n    // `res` is the parsed ElasticSearch response data.\n});\n```\n\nRetrieve a previously-indexed document by id:\n\n```js\n// Specify the index and the document id.\nclient.get('blog', '42', function (err, doc, res) {\n    // `err` is an Error, or `null` on success.\n    // `doc` is the parsed document data.\n    // `res` is the full parsed ElasticSearch response data.\n});\n```\n\nPerform a search:\n\n```js\n// Simple string query (automatically turned into a query_string query).\nclient.search({query: 'welcome'}, function (err, results, res) {\n    // `err` is an Error, or `null` on success.\n    // `results` is an object containing search hits.\n    // `res` is the full parsed ElasticSearch response data.\n});\n\n// Custom query options (this is equivalent to the previous example, just\n// without the magic).\nclient.search({\n    query: {query_string: {query: 'welcome'}}\n}, function (err, results, res) {\n    // ...\n});\n```\n\nSee the doc comments in the source for more details on available methods and\noptions.\n\n\nDeveloping\n----------\n\nFork the git repo, clone it, then install the dev dependencies.\n\n    cd elastical\n    npm install\n\nMake your changes, add tests, then run the tests to make sure nothing broke.\n\n    make test\n\nThis will run both offline and online tests. Online tests require an\nElasticSearch server running at http://127.0.0.1:9200/. If you only want to run\nthe offline tests (which don't require a server), run:\n\n    make offline-tests\n\n\nPull Requests\n-------------\n\nBefore embarking on any major changes, please drop me a note first just to make\nsure I'm not already working on something similar. This could save us both some\ntrouble.\n\nPlease make your changes in a topic branch and submit a pull request describing\nwhat the changes do and why I should merge them. Save time by including good\noffline and online tests for your changes (if you don't, I'll just ask you to\nadd them). Thanks!\n\n\nSupport\n-------\n\nNope.\n\n\nLicense\n-------\n\nCopyright (c) 2012 Ryan Grove (ryan@wonko.com)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the 'Software'), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","readmeFilename":"README.md","_id":"elastical@0.0.13","dist":{"shasum":"e3725fc31c92e8d0c2b6bbee56ac91951ad67155","tarball":"https://registry.npmjs.org/elastical/-/elastical-0.0.13.tgz","integrity":"sha512-1jmxmYctp6QjyFNr23VhsWdA804xh5pA6vYyed6bCSwEDbj6gRyMvIzzObn6aX4bjgrvN61taa9VH1ndd+BPYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWxoGpohYS9i8Cx94+cJeRTBM5LtOKK7Skvogsi4WbZgIhAL71RfNF0TBtfIX4wreDhii8w8Zi4dHfULQnY0//6O2+"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"rramv","email":"rviswanadha@gmail.com"},"maintainers":[{"name":"rgrove","email":"ryan@wonko.com"},{"name":"rramv","email":"rviswanadha@gmail.com"}]}},"maintainers":[{"name":"rgrove","email":"ryan@wonko.com"},{"name":"rramv","email":"rviswanadha@gmail.com"}],"time":{"modified":"2022-06-16T07:07:41.597Z","created":"2011-09-06T21:05:26.768Z","0.0.1":"2011-12-08T05:33:04.095Z","0.0.2":"2011-12-08T05:33:04.095Z","0.0.3":"2011-10-26T21:37:59.241Z","0.0.4":"2011-11-18T01:16:10.926Z","0.0.5":"2011-11-23T23:09:16.083Z","0.0.6":"2011-12-08T05:33:04.095Z","0.0.7":"2012-01-11T17:23:54.404Z","0.0.8":"2012-04-11T00:08:34.649Z","0.0.9":"2012-07-31T00:31:38.468Z","0.0.10":"2012-10-30T05:26:17.650Z","0.0.11":"2013-01-28T04:25:16.939Z","0.0.12":"2013-08-26T02:35:12.300Z","0.0.13":"2014-01-02T22:46:20.249Z"},"author":{"name":"Ryan Grove","email":"ryan@wonko.com","url":"http://wonko.com/"},"repository":[{"type":"git","url":"git://github.com/ramv/node-elastical.git"}],"users":{"fgribreau":true,"villadora":true,"dofy":true,"peterheneback":true,"anurag.sharma":true}}