{"_id":"@caresync/solr-client-updated","name":"@caresync/solr-client-updated","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@caresync/solr-client-updated","main":"dist/main.js","types":"dist/main.d.ts","description":" A Solr client library for indexing, adding, deleting, committing, optimizing and searching documents within an Apache Solr installation (version>=3.2)","version":"1.0.0","scripts":{"build":"tsc --skipLibCheck","format":"prettier --write \"{lib,examples,test}/**/*.ts\"","lint":"eslint \"lib/**/*.ts\" \"test/**/*.ts\"","prepublish":"rm -rf ./dist && yarn build","postpublish":"rm -rf ./dist","publishIt":"npm publish --access public"},"engines":{"node":">= 12"},"dependencies":{"buffer":"^6.0.3","cross-fetch":"^4.0.0","hnp":"^1.0.1","json-bigint":"^1.0.0","proxy-agent":"^5.0.0","request":"^2.88.2","tslib":"^2.3.1"},"devDependencies":{"@types/chai":"^4.2.22","@types/mocha":"^9.0.0","@types/node":"^16.10.3","@types/request":"^2.48.7","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","bignumber.js":"^9.0.1","chai":"^4.3.4","csv-stream":"^0.2.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","figc":"^0.0.3","jasmine-core":"^3.10.1","minimist":"^1.2.5","mocha":"^9.1.2","prettier":"^2.4.1","ts-node":"^10.2.1","typescript":"^5.6.3"},"keywords":["solr","client","query","sdk","search"],"repository":{"type":"git","url":"git+https://github.com/lbdremy/solr-node-client.git"},"author":{"name":"Remy Loubradou","email":"remy.loubradou@gmail.com","url":"https://twitter.com/#!/lbdremy"},"contributors":[{"name":"Igor Savin","email":"kibertoad@gmail.com","url":"https://twitter.com/kibertoad"},{"name":"Rudolf Byker","email":"rudolfbyker@gmail.com","url":"https://github.com/rudolfbyker"},{"name":"Serdar Sanri","email":"serdar.sanri@gmail.com","url":"https://github.com/SerdarSanri"}],"license":"MIT","bugs":{"url":"https://github.com/SerdarSanri/solr-node-client/issues"},"homepage":"https://github.com/SerdarSanri/solr-node-client#readme","licenseText":"(The MIT License)\n\nCopyright 2011-2012 HipSnip Limited\nCopyright 2013-2014 Rémy Loubradou\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies 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,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","_id":"@caresync/solr-client-updated@1.0.0","dist":{"shasum":"d0a4f3005ecb36d9ceb73612a768eb72a0cb56f5","integrity":"sha512-m2XZGyIaKoFIuc/HH6CIFQ5NhyWLlK4sI2V7pgHf2YQjvfuzz5PkWoeXkKqU866eoyQXBw5K1qVrBG4ccAhz1g==","tarball":"https://registry.npmjs.org/@caresync/solr-client-updated/-/solr-client-updated-1.0.0.tgz","fileCount":45,"unpackedSize":197632,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDnPi6hA/GI9NlvY3wvb0U9cqJB24tNGPNpBj1J38+waAIhAJ6K9wPzbrRKykLyakEWpbf1hNPF285chqIj5psOq/Z2"}]},"_npmUser":{"name":"caresync","email":"serdar@caresync.net"},"directories":{},"maintainers":[{"name":"caresync","email":"serdar@caresync.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/solr-client-updated_1.0.0_1754460681334_0.6165263617090619"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-06T06:11:21.173Z","1.0.0":"2025-08-06T06:11:21.570Z","modified":"2025-08-06T06:11:21.933Z"},"maintainers":[{"name":"caresync","email":"serdar@caresync.net"}],"description":" A Solr client library for indexing, adding, deleting, committing, optimizing and searching documents within an Apache Solr installation (version>=3.2)","homepage":"https://github.com/SerdarSanri/solr-node-client#readme","keywords":["solr","client","query","sdk","search"],"repository":{"type":"git","url":"git+https://github.com/lbdremy/solr-node-client.git"},"contributors":[{"name":"Igor Savin","email":"kibertoad@gmail.com","url":"https://twitter.com/kibertoad"},{"name":"Rudolf Byker","email":"rudolfbyker@gmail.com","url":"https://github.com/rudolfbyker"},{"name":"Serdar Sanri","email":"serdar.sanri@gmail.com","url":"https://github.com/SerdarSanri"}],"author":{"name":"Remy Loubradou","email":"remy.loubradou@gmail.com","url":"https://twitter.com/#!/lbdremy"},"bugs":{"url":"https://github.com/SerdarSanri/solr-node-client/issues"},"license":"MIT","readme":"# solr-client - a node.js solr client\n[![NPM Version](https://img.shields.io/npm/v/solr-client.svg)](https://npmjs.org/package/solr-client)\n[![NPM Downloads](https://img.shields.io/npm/dm/solr-client.svg)](https://npmjs.org/package/solr-client)\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/lbdremy/solr-node-client?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n![](https://github.com/lbdremy/solr-node-client/workflows/CI/badge.svg)\n\n## Installation\n\nInstall the library with:\n\n```shell\nnpm install solr-client\n```\n\nor\n\n```shell\nyarn add solr-client\n```\n\n## Documentation\n\nNode.js version 12+ is supported.\nSolr versions 3-8 are supported.\n\n* See the [official documentation](https://lbdremy.github.io/solr-node-client/) for more details.\n* If you are upgrading from an earlier version, please see the [migration guide](https://github.com/lbdremy/solr-node-client/blob/master/UPGRADING.md).\n* You can also check out the [changelog](https://github.com/lbdremy/solr-node-client/blob/master/CHANGELOG.md).\n\n## Usage (callback API in 0.9.0 and older)\n\n```js\n// Load dependency\nconst solr = require('solr-client');\n\n// Create a client\nconst client = solr.createClient();\n\n// Add a new document\nconst obj = await client.add({ id : 12, title_t : 'Hello' });\nconsole.log('Solr response:', obj);\n```\n\n## Usage (promise API in 0.10.0+`)\n\n```js\n// Load dependency\nconst solr = require('solr-client');\n\n// Create a client\nconst client = solr.createClient();\n\n// Add a new document\nconst obj = await client.add({ id : 12, title_t : 'Hello' });\nconsole.log('Solr response:', obj);\n```\n\n## Roadmap\n\n### v0.3.x - v0.x.x\n\n- Implement all features available in Solr 4 (SolrCloud API in particular)\n- Provide all low-level commands\n- Complete documentation\n\n### v1.0.x\n\n- First stable version\n- the API is frozen until v2.0.x, only new features and bug fixes can be introduced\n\n## Test\n\nTests are executed against a Solr instance in a Docker container. \n\nTo execute them on latest supported Solr version, run:\n\n```shell\nnpm run solr:current:start\nnpm run test:current\n```\n\nIf you want to execute them on oldest Solr version supported, run:\n\n```shell\nnpm run solr:legacy:start\nnpm run test:legacy\n```\n## Windows 10 and Docker\n\n#### Windows 10 Pro or Enterprise\n\nIf you have a version of Windows 10 Pro or Enterprise, simply download [Docker Desktop](https://docs.docker.com/desktop/windows/install/). Ensure that Hyper-V is enabled, and [virtualization](https://docs.docker.com/desktop/windows/troubleshoot/#virtualization-must-be-enabled) is enabled in your motherboard's BIOS. It may prompt you to install updates to Windows during Docker Desktop installation and then restart the system.\n\n#### Windows 10 Home\n\nIf you have a version of Windows 10 Home, a little more effort is needed. By default, Hyper-V cannot be turned on for Home edition.\n**The steps that seem to work:**\n- Check to ensure you have WSL1, WSL2, and the Kernel Update. This can be done using the shell commands found [here](https://blog.devgenius.io installing-docker-onwindows-10-home-edition-2e7c1b79d76d). \n- [Follow the instructions in this link](https://www.itechtics.com/enable-hyper-v-windows-10-home/) to install Hyper-V. Please note, that you must have WSL1/WSL2 and the update for Hyper-V to install properly or the changes may be undone during restart.\n- After restarting and checking that Hyper-V is enabled, you may install [Docker Desktop](https://docs.docker.com/desktop/windows/install/) using the setup wizard.\n\n## Test coverage\n\nBefore to be able to run the command below, you will need to install jscoverage available \n[here](https://github.com/visionmedia/node-jscoverage).\n\n```\nnpm run-script test-cov\n```\n\nThis command will generate a file named `coverage.html`, use your browser to visualize it.\n\n## Static analysis and complexity report\n\n```\nnpm run-script report\n```\n\n## Licence\n\n(The MIT License)\n\nCopyright 2011-2012 HipSnip Limited\nCopyright 2013-2014 Rémy Loubradou\n","readmeFilename":"README.md","_rev":"1-573a4eb2920cf2aa92307526d8efe6b5"}