Skip to content
This repository has been archived by the owner on Jan 26, 2025. It is now read-only.

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

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

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

No branches or pull requests

2 participants