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

Select number of documents to be extracted #21

Open
x389liu opened this issue Oct 2, 2019 · 1 comment
Open

Select number of documents to be extracted #21

x389liu opened this issue Oct 2, 2019 · 1 comment

Comments

@x389liu
Copy link
Member

x389liu commented Oct 2, 2019

It would be great if we could have an option to select how many documents we want to used for extraction. For example, if there are 1000 files indexed in Solr, we might only want to extract from 50 files.

@r-clancy has some previous work on sampling for Solr but haven't merged yet: https://github.com/dstlry/dstlr/tree/sample-solr

@ryan-clancy
Copy link
Member

The library we use for Spark-Solr integration exposes the max_rows option which should be what you need.

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

2 participants