Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thrift service / Solr SQL support ? #253

Open
Tagar opened this issue Feb 6, 2019 · 6 comments
Open

Thrift service / Solr SQL support ? #253

Tagar opened this issue Feb 6, 2019 · 6 comments

Comments

@Tagar
Copy link

Tagar commented Feb 6, 2019

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.

@stale
Copy link

stale bot commented May 7, 2019

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.

@stale stale bot added the stale label May 7, 2019
@jnovinger
Copy link

@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.

@stale stale bot removed the stale label Jun 3, 2019
@stale
Copy link

stale bot commented Sep 1, 2019

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.

@stale stale bot added the stale label Sep 1, 2019
@Tagar
Copy link
Author

Tagar commented Sep 3, 2019

@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

@stale stale bot removed the stale label Sep 3, 2019
@Tagar Tagar changed the title Thrift service support? Thrift service / Solr SQL support ? Sep 3, 2019
@svanschalkwyk
Copy link

Would love to have support for /sql request handler.
Add stmt=.

@svanschalkwyk
Copy link

SOLVED
options = { 'stmt':'SELECT DISTINCT xxx FROM yyy'}
res = solr1.search('*', search_handler='/sql', **options)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants