Re: Save the file sent to the ExtractingRequestHandler locally on the server.

2010-11-18 Thread Chad Salamon
I'm using solr as a part of what could be described as a content management system. I don't have a problem with uploading the files independently of Solr, but I'm trying to avoid sending excess data. I'm also trying to avoid any solutions that are system dependent. Perhaps another option would be

Save the file sent to the ExtractingRequestHandler locally on the server.

2010-11-17 Thread Chad Salamon
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

Re: Save the file sent to the ExtractingRequestHandler locally on the server.

2010-11-17 Thread Lance Norskog
Upload the files independently of Solr. Solr is not a content management system. One problem is getting the links put together so that the link that comes out with the document can be turned into a link the user can open. Chad Salamon wrote: I would like to save files sent to the

Re: Save the file sent to the ExtractingRequestHandler locally on the server.

2010-11-17 Thread Kaustuv Royburman
A possible solution is to use a directory on the server to upload the files. Monitor the directory for new uploads and then post the documents to the solr using curl. If you are using a linux based server you can use inotifywatch to monitor the folder for new file uploads and then use the