For a remote streaming scenario (opening / reading / processing / closing a file contents on the SOLR server based upon the information passed in the request), I'd like to be able to handle the following use case
SOLR currently supports three concrete implementations for ContentStream - one for File/URL/String as defined in ContentStreamBase. However, we need another type (since our files could also be remotely loaded from a 3rd party cloud provider with a proprietary access mechanism). Questions: We can write a custom content stream to read / get an input stream from this provider but 1. how do we register this with SOLR 2. it's not clear to me how SOLR decides which content stream to use and how we can influence this decision On the SOLR server side, .. ContentStreamHandlerBase, .. Iterable<ContentStream> streams = req.getContentStreams(); ?? where does On the SOLR HttpSolrServer client side, I can't see any stream info being injected into the request. I plan to investigate a with a real time debugger but wanted to ask this question in case someone had an idea Thanks Vinay