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

Pick connection option #1

Open
martindurant opened this issue Feb 28, 2018 · 2 comments
Open

Pick connection option #1

martindurant opened this issue Feb 28, 2018 · 2 comments

Comments

@martindurant
Copy link
Member

pysolr is actually a very thin wrapper passing query parameters to requests. We could easily implement this ourselves, or use another wrapper such as SolrClient - which, for example, has paging results support and schema field listing, but we don't actually need any of that if all we want to do is execute the REST endpoint.

@martindurant
Copy link
Member Author

e.g., to get CSV output, you need merely add &wt=csv tot he query and this will be far more performant on the client end.

@martindurant
Copy link
Member Author

Note that there is a difference in SOLR-land between collections with or without schemas. That could be used to define whether the tabular or sequential data source if preferred. If there is a schema, it seems you can get the field types without pulling any data https://lucene.apache.org/solr/guide/6_6/schema-api.html#SchemaAPI-ListFields .

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