I would like to save files sent to the ExtractingRequestHandler on the server processing it, and provide a link to the file in the solr document. I currently am running a solr core as a part of a larger web app, and I would like to publish the files as a part of that same web app. This way, both solr and the files can be behind the same security filters (Spring Security).
I can think of two ways to do this - one would be to extend ExtractingRequestHandler to grab the files and then save them where I want to. The other would be to upload the files independently of Solr and then send them to the ExtractingRequestHandler through remote streaming. Any other suggestions would be appreciated. Thanks.