{"categories":[{"label":"Front-Ends","url":"https://skillfed.io/packages/category/database-front-ends/2"}],"enrichment":{"capability":"Provides a SQLAlchemy dialect that allows you to query Apache Solr collections using standard SQL syntax and SQLAlchemy ORM patterns.","skillfed_tags":["solr-integration","database-driver"],"use_cases":["Connect Apache Superset to a Solr datasource for visual analytics and dashboarding without writing Solr query syntax.","Build Python applications that query Solr collections using familiar SQLAlchemy ORM patterns instead of Solr's native query language.","Run ad-hoc SQL SELECT queries against Solr indexes for reporting or data exploration.","Migrate existing SQL-based applications to use Solr as a search backend with minimal code changes.","Query Solr aliases that span multiple collections as if they were a single table with merged fields."],"what_it_does":"sqlalchemy-solr is a SQLAlchemy dialect that bridges Solr search indexes to Python applications by translating SQL queries into Solr's native query syntax. It lets you treat Solr collections as database tables, enabling both raw SQL execution and SQLAlchemy ORM-style queries. The dialect handles field mapping, multi-valued fields as SQL arrays, date range filtering, and Solr aliases as virtual tables.\n\nThe package depends on sqlalchemy, python-dateutil, requests, and sqlparse to manage connection pooling, date arithmetic, HTTP communication with Solr, and SQL parsing. It supports basic and JWT authentication, optional SSL/TLS, and integrates with tools like Apache Superset. Compatibility varies by Solr version: aliases work from 6.6 onward, SQL compilation caching and built-in date range compilation are available only in Solr 9.x.","worth_installing":"Yes, if you need to query Solr from Python using SQL or SQLAlchemy ORM and your Solr version is 6.0 or higher. The low install friction, permissive MIT license, and zero known vulnerabilities make it safe to adopt. However, the aging maintenance status (no recent commits, last release August 2024) means you should verify compatibility with your specific Solr and SQLAlchemy versions before committing to production use."},"id":"sqlalchemy-solr","links":{"html":"https://skillfed.io/packages/sqlalchemy-solr","md":"https://skillfed.io/packages/sqlalchemy-solr.md","pypi":"https://pypi.org/project/sqlalchemy-solr/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2024-08-08","license_spdx":null,"license_treatment":"permissive","name":"sqlalchemy-solr","python_support":"supports_current","summary":"Apache Solr Dialect for SQLAlchemy"},"popularity":{"monthly_downloads":86589,"position":13848,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.4.3"}
