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

Expose search as GraphQL API #12

Open
anjackson opened this issue Dec 24, 2020 · 0 comments
Open

Expose search as GraphQL API #12

anjackson opened this issue Dec 24, 2020 · 0 comments

Comments

@anjackson
Copy link
Contributor

The SearchKit toolkit has been refactored use a GraphQL API which gives me an idea.

Rather than coding directly against the Solr API, we could use the same conventions as SearchKit and expose a compatible GraphQL API.

There's good support for that kind of thing, eg https://graphene-python.org which can be integrated with Flask.

We could even using the solr-sqlalchemy adapter and do something like https://medium.com/swlh/python-flask-with-graphql-server-with-sqlalchemy-and-graphene-and-sqlite-ac9fcc9d3d83 but two APIs might be overkill!

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

1 participant