![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
solr-xml-to-jsonl
Advanced tools
A CLI utility to convert a solr data file to a simple JSONL file
solr-xml-to-jsonl
This is a simple CLI utility to convert data in SOLR XML format to a JSONL file.
npx solr-xml-to-jsonl <path/to/input_solr_data.xml> <path/to/output.jsonl>
This is the expected format of input_solr_data.xml
:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<add>
<docs>
<doc>
<field name="product_name">Water Bottle</field>
<field name="price">1.99</field>
<field name="description">A bottle of water</field>
<field name="in_stock">true</field>
<field name="category">Water</field>
<field name="category">Bottles</field>
</doc>
<doc>
<field name="product_name">Lemonade</field>
<field name="price">2.99</field>
<field name="description">A bottle of lemonade</field>
<field name="in_stock">true</field>
<field name="category">Lemonade</field>
<field name="category">Bottles</field>
</doc>
</docs>
</add>
After running this command, the output JSONL will be in this format:
{"product_name":"Water Bottle","price":1.99,"description":"A bottle of water","in_stock":true,"category":["Water","Bottles"]}
{"product_name":"Lemonade","price":2.99,"description":"A bottle of lemonade","in_stock":true,"category":["Lemonade","Bottles"]}
FAQs
A CLI utility to convert a solr data file to a simple JSONL file
We found that solr-xml-to-jsonl demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.