Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
This will migrate a Solr node to an Elasticsearch index.
Python 2.7+
::
usage: solr-to-es [-h] [--solr-query SOLR_QUERY]
[--rows-per-page ROWS_PER_PAGE] [--es-timeout ES_TIMEOUT]
solr_url elasticsearch_url elasticsearch_index doc_type
The following example will page through all documents on the local Solr
node, node
, and submit them to the local Elasticsearch server in the
index es_index
with a document type of solr_docs
.
.. code:: bash
solr-to-es.py localhost:8983/solr/node localhost:9200 es_index solr_docs
solr_url
is the url to your Solr node.
elasticsearch_url
is the url of your Elasticsearch server.
elasticsearch_index
is the index you will submit the Solr documents
to on Elasticsearch.
doc_type
is the type of document Elasticsearch should assume you are
importing.
--solr-query
defaults to *:*
--rows-per-page
defaults to 500
--es-timeout
defaults to 60
FAQs
Export Solr Nodes to Elasticsearch Indexes
We found that solr-to-es demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.