interface SolrRequest
{
SolrParams getParams();
ContentStream[] getContentStreams(); // Iterator?
long getStartTime();
}
correction: this should be:
Iterator<ContentStream> getContentStreams();
Consider the case where you iterate through a local file system.
----------
In addition to RequestProcessors, maybe there should be a general
DocumentProcessor
interface SolrDocumentParser
{
Document parse(ContentStream content);
}
solrconfig could register "text/html" -> HtmlDocumentParser, and
RequestProcessors could share the same parser.