title: How to download a file successfully indexed in apache solr?
body: <p>I am able to successfully index a PDF doc using a curl request. But since solr only indexes the doc, and do not host it, I have tried hosting the PDF on tomcat 7 , and tried to index document using following curl command : curl 'localhost:8983/solr/update?commit=true' -H 'Content-type:application/json' -d '[{"id":"fileId","url":{"set":"<a href="http://localhost:8080/path-to-file/fileName.pdf(doc)" rel="nofollow">http://localhost:8080/path-to-file/fileName.pdf(doc)</a></p>
  
  <p>"}}]' . I have put my PDF in examples directory inside tomcat installation directory . This curl command successfully indexes PDF , but is not able to download it, when i click on the link, gives 404 error ! What am i doing wrong, can anybody tell me ?????</p>