{"_id":"mongoose-elastic","_rev":"39-da8fb7319f2f1e0c7a981b164cc0f630","name":"mongoose-elastic","description":"Do stuff with elastic and mongoose","dist-tags":{"latest":"0.0.8"},"versions":{"0.0.1":{"name":"mongoose-elastic","version":"0.0.1","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/ZachSitler/mongoose-elastic.git"},"main":"./lib/mongoose-elastic","dependencies":{"mongoose":"~3.8.8","node-dev":"~2.1.4","mocha":"~1.17.0","should":"~3.0.1","elasticsearch":"~1.5.9","async":"~0.2.10","mongoose-denorm":"~0.1.9"},"description":"Do stuff with elastic and mongoose","bugs":{"url":"https://github.com/ZachSitler/mongoose-elastic/issues"},"homepage":"https://github.com/ZachSitler/mongoose-elastic","_id":"mongoose-elastic@0.0.1","dist":{"shasum":"90e0dbb144ecb70a5ed311073b062262305a9c7f","tarball":"https://registry.npmjs.org/mongoose-elastic/-/mongoose-elastic-0.0.1.tgz","integrity":"sha512-e7Yjik+cQt6heMmXsP+tpR3HEc5shkQ8TYpje4oaXn93zMIUncXjEdcrAwdm1s3JFTcH3CNmFVOn3skVM1KNjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPCIz9yKVunpaC5qG7OvHyXsLXqK31W49LUid8Y7VuEwIgWFYwnqLzuai1W4Qq8xhfmHRJH+MyHD6PBlEwtowD5v0="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"zachsitler","email":"zachsitler@gmail.com"},"maintainers":[{"name":"zachsitler","email":"zachsitler@gmail.com"}]},"0.0.2":{"name":"mongoose-elastic","version":"0.0.2","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/ZachSitler/mongoose-elastic.git"},"main":"./lib/mongoose-elastic","dependencies":{"mongoose":"~3.8.8","node-dev":"~2.1.4","mocha":"~1.17.0","should":"~3.0.1","elasticsearch":"~1.5.9","async":"~0.2.10","mongoose-denorm":"~0.1.9"},"description":"Do stuff with elastic and mongoose","bugs":{"url":"https://github.com/ZachSitler/mongoose-elastic/issues"},"_id":"mongoose-elastic@0.0.2","dist":{"shasum":"86f5ce8c55d72c0c92175df43ea1e6e5254a9847","tarball":"https://registry.npmjs.org/mongoose-elastic/-/mongoose-elastic-0.0.2.tgz","integrity":"sha512-IZxzHZkqdC1tB0F8SjBbj7zkSWWTzuQWQmFTbZ81sS4rlRtEYX+I891x8kpBbPZwX9UmxQd8+Kfwd8+eGBLBWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEKSJKKBc+1ihYvoJPOmwYLJfmZCjLnopyBnxUkvkkzQAiAAgDKrOgsWH6eTjdC95tFx2z/tDhoc9k6tPf2PWswRAA=="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"zachsitler","email":"zachsitler@gmail.com"},"maintainers":[{"name":"zachsitler","email":"zachsitler@gmail.com"}]},"0.0.3":{"name":"mongoose-elastic","version":"0.0.3","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/ZachSitler/mongoose-elastic.git"},"main":"./lib/mongoose-elastic","dependencies":{"mongoose":"~3.8.8","node-dev":"~2.1.4","mocha":"~1.17.0","should":"~3.0.1","elasticsearch":"~1.5.9","async":"~0.2.10","mongoose-denorm":"~0.1.9"},"description":"Do stuff with elastic and mongoose","bugs":{"url":"https://github.com/ZachSitler/mongoose-elastic/issues"},"_id":"mongoose-elastic@0.0.3","dist":{"shasum":"abb15fab932b86455d45752412505b79b791bbc8","tarball":"https://registry.npmjs.org/mongoose-elastic/-/mongoose-elastic-0.0.3.tgz","integrity":"sha512-KzOCam9Xaltm/Dh71pV697eDUUN/4oNhfj3t7lpXwvXndJt5GxEHx5g8CJhF0JF0a5C8651t5oF8EjPYkzxr0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIECgSGB+GwzqA5oRm4iNgH9dgtE/H++syScAT7l8bpg1AiAt+k3Gst8stPljHqsn3+l0cmQfkadvKIWhuIC0WDv2Aw=="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"zachsitler","email":"zachsitler@gmail.com"},"maintainers":[{"name":"zachsitler","email":"zachsitler@gmail.com"}]},"0.0.4":{"name":"mongoose-elastic","version":"0.0.4","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/ZachSitler/mongoose-elastic.git"},"main":"./lib/mongoose-elastic","dependencies":{"mongoose":"~3.8.8","node-dev":"~2.1.4","mocha":"~1.17.0","should":"~3.0.1","elasticsearch":"~1.5.9","async":"~0.2.10","mongoose-denorm":"~0.1.9"},"description":"Do stuff with elastic and mongoose","bugs":{"url":"https://github.com/ZachSitler/mongoose-elastic/issues"},"_id":"mongoose-elastic@0.0.4","dist":{"shasum":"dde306bd90afa5b2160135321f66f7b082f5d9e2","tarball":"https://registry.npmjs.org/mongoose-elastic/-/mongoose-elastic-0.0.4.tgz","integrity":"sha512-qMz7ecXTOdw9wdnz7gbMcY/LUl45zGQXZ+Ha/WHeQFXtmo351dv/FezfFbsFsFMFtfKDqwHn7huFfrlNmdxeCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBRvliDEXKHv9+SxPLVUcOmMjHFEZqOb66DYz5jS2SliAiEAgo7T+Fp7FkufAMuv8S5VUtv5vqGIEzj0fo91PPCukZw="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"zachsitler","email":"zachsitler@gmail.com"},"maintainers":[{"name":"zachsitler","email":"zachsitler@gmail.com"}]},"0.0.5":{"name":"mongoose-elastic","version":"0.0.5","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/ZachSitler/mongoose-elastic.git"},"main":"./lib/mongoose-elastic","dependencies":{"mongoose":"~3.8.8","node-dev":"~2.1.4","mocha":"~1.17.0","should":"~3.0.1","elasticsearch":"~1.5.9","async":"~0.2.10","mongoose-denorm":"~0.1.9"},"description":"Do stuff with elastic and mongoose","bugs":{"url":"https://github.com/ZachSitler/mongoose-elastic/issues"},"_id":"mongoose-elastic@0.0.5","dist":{"shasum":"407222afe3d2af2515c9ca285db4e6668644c970","tarball":"https://registry.npmjs.org/mongoose-elastic/-/mongoose-elastic-0.0.5.tgz","integrity":"sha512-ab8+TjCQHbXFTcgSZ0cutLCkVIasmmUtxwozxGjdbes8s0dixeoMz9IN9liGm2vzO1aRWr4A0S8VUktPUUuyvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsA3XWG6yL0WgpbV7Wb8N2qi1YHlxvRDkybC56bCY/bgIhAMUSkHUC92JfoKLPZ02WGA0oQm+GsiVZMQmRAwYkaADM"}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"zachsitler","email":"zachsitler@gmail.com"},"maintainers":[{"name":"zachsitler","email":"zachsitler@gmail.com"}]},"0.0.6":{"name":"mongoose-elastic","version":"0.0.6","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/ZachSitler/mongoose-elastic.git"},"main":"./lib/mongoose-elastic","dependencies":{"mongoose":"~3.8.8","node-dev":"~2.1.4","mocha":"~1.17.0","should":"~3.0.1","elasticsearch":"~1.5.9","async":"~0.2.10","mongoose-denorm":"~0.1.9"},"description":"Do stuff with elastic and mongoose","bugs":{"url":"https://github.com/ZachSitler/mongoose-elastic/issues"},"_id":"mongoose-elastic@0.0.6","dist":{"shasum":"a3d56015ad99ce0a8f11a50a5f0029401ce3d50e","tarball":"https://registry.npmjs.org/mongoose-elastic/-/mongoose-elastic-0.0.6.tgz","integrity":"sha512-Z3IgLe5n1EI9iycihq1WqAIxB3IvZiCgH/XCAMmXfbaz6knE+4kYM5w4+GgWDMnOo1DJjvnQcog7m3wLbkX6bw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLiPXV7peCHv0UW6otiQvr25bTdjwoglDgEdoCs+7Y2gIgbuH6/kquohivwh8ntvJ/sv6nkFJFwStMwstqTJDM89A="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"zachsitler","email":"zachsitler@gmail.com"},"maintainers":[{"name":"zachsitler","email":"zachsitler@gmail.com"}]},"0.0.7":{"name":"mongoose-elastic","version":"0.0.7","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/ZachSitler/mongoose-elastic.git"},"main":"./lib/mongoose-elastic","dependencies":{"mongoose":"~3.8.8","node-dev":"~2.1.4","mocha":"~1.17.0","should":"~3.0.1","elasticsearch":"~1.5.9","async":"~0.2.10","mongoose-denorm":"~0.1.9"},"description":"Do stuff with elastic and mongoose","bugs":{"url":"https://github.com/ZachSitler/mongoose-elastic/issues"},"_id":"mongoose-elastic@0.0.7","dist":{"shasum":"231a54dd84c45db78db11d6df85bdc8a2d8c4049","tarball":"https://registry.npmjs.org/mongoose-elastic/-/mongoose-elastic-0.0.7.tgz","integrity":"sha512-qrNCwJclhljxHX6+PYPrb6+V7MDFLM+14R9FRLv28ZJP0/XD8RubkpvO6ENyfVlaXyUEfT+vFzBOHeTGoE+Ypg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGStJX3WfNomoPjpOPTgPB0H5r5JF+Ut5nT2wfDjAsMsAiEApbmVA6hr5uCSMHCj660Oo3ScFomDw/XnuBL+IiWKLy0="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"zachsitler","email":"zachsitler@gmail.com"},"maintainers":[{"name":"zachsitler","email":"zachsitler@gmail.com"}]},"0.0.8":{"name":"mongoose-elastic","version":"0.0.8","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/ZachSitler/mongoose-elastic.git"},"main":"./lib/mongoose-elastic","dependencies":{"mongoose":"~3.8.8","node-dev":"~2.1.4","mocha":"~1.17.0","should":"~3.0.1","elasticsearch":"~1.5.9","async":"~0.2.10","mongoose-denorm":"~0.1.9"},"description":"Do stuff with elastic and mongoose","bugs":{"url":"https://github.com/ZachSitler/mongoose-elastic/issues"},"_id":"mongoose-elastic@0.0.8","dist":{"shasum":"69a4e0eb04985d8b7fb7eab5c3726efd96420d89","tarball":"https://registry.npmjs.org/mongoose-elastic/-/mongoose-elastic-0.0.8.tgz","integrity":"sha512-CQwP4isfMsQOWAmPTGJnL7XJNzbNWomYQaghG00yCGx/+hXrlFcg7OfzWnm9lsf1XNayfDYQ8S/KxomgEk0/0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDJUJXok8zJXeM3qGI53jkQUB8OjZf7Gnfc5ZemT2rYHAiEA9MS5u5agtJHLwISsbKAjzEjFd7NxIxUcDYR6oFzfvpc="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"zachsitler","email":"zachsitler@gmail.com"},"maintainers":[{"name":"zachsitler","email":"zachsitler@gmail.com"}]}},"readme":"# Mongoose-elastic\n\nDo stuff with elastic and mongoose\n\n## Version\n0.3\n\n## Tech\n* Mongoose\n\n## Directory Structure\n```sh\n|---mongoose-elastic\n   |-lib\n   |-test\n```\n## Install\n```sh\nnpm install mongoose-elastic --save\n```\n\n## Setup\n\nAdd a mapping and prefix.\n```sh\nactivitySchema.plugin(elastic, { prefix: 'dev',\n  mapping: {\n\n    message: String,\n    event: {\n      title: String\n    }\n  }\n})\n```\n\n## syncAll\n\nSync things.\n```sh\nActivity.syncAll(function(err) {\n   if (err) {\n     console.log(err);\n  }\n\n  console.log('done!');\n})\n```\n\n### sync\n\n```sh\nactivity.sync(function() {})\n```\n\n## search\nGlobal\n```sh\nelastic.search.config({ prefix: 'stage' });\nelastic.search({ collections: ['activities'] }, function(err, results) {\n  if (err) {\n    console.log(err);\n  }\n\n  console.log(results);\n})\n```\nJust a collection\n```sh\nActivity.search({ prefix: 'dev' }, function(err, results) {\n  if (err) {\n    console.log(err);\n  }\n\n  console.log(results);\n})\n```\n## Tests\n-----------\n```sh\nmake test\n```\n\n","maintainers":[{"name":"zachsitler","email":"zachsitler@gmail.com"}],"time":{"modified":"2022-06-20T07:05:50.426Z","created":"2014-02-28T20:25:48.334Z","0.0.1":"2014-02-28T20:25:48.334Z","0.0.2":"2014-03-04T17:58:48.676Z","0.0.3":"2014-03-11T19:08:53.566Z","0.0.4":"2014-03-28T01:22:53.009Z","0.0.5":"2014-04-11T21:41:42.963Z","0.0.6":"2014-04-18T23:42:13.765Z","0.0.7":"2014-05-05T21:16:28.678Z","0.0.8":"2014-05-06T00:47:36.213Z"},"repository":{"type":"git","url":"git://github.com/ZachSitler/mongoose-elastic.git"},"bugs":{"url":"https://github.com/ZachSitler/mongoose-elastic/issues"},"readmeFilename":"Readme.md","users":{}}