pysolr
pysolr copied to clipboard
Thrift service / Solr SQL support ?
One of later Solr releases added Thrift service ..
Would be great if PySolr would have added Thrift support too.. My understanding it opens up a way to send SQL-like queries to Solr , not just REST API calls.
Thank you.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@Tagar are you talking about the Parallel SQL Interface introduced in Solr 6.x?
Near the bottom of that page, they have some docs on how to access it via HTTP, so I'm not sure it requires Thrift.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@jnovinger just noticed your response
I realize my question might have been a bit confusing.
This is not directly related to Thrift.
I was just checking if we could use this python package to run some SQL queries against Solr cluster.
For example, see https://lucene.apache.org/solr/guide/6_6/parallel-sql-interface.html#basic-select-statement-with-limit
Thank you
Would love to have support for /sql request handler. Add stmt=.
SOLVED options = { 'stmt':'SELECT DISTINCT xxx FROM yyy'} res = solr1.search('*', search_handler='/sql', **options)