I have been trying to run and try Apache solr (connecting and running Java queries) in Windows for two days, and it took me about 15 different stackoverflow searches and 5 long tutorials to overcome all the errors and questions that I was facing. This question is intended as a self-Q&A for those experiencing the same problems. I'm using: Windows 7, Apache solr 5.5.0, Maven and Eclipse. Note: I know I'm not covering absolutely everything, but I hope I can help people overcome some of their problems!
Questions that will be (hopefully) covered:
- Where do I download solr? (SO independent)
- How do I start solr (from the windows console)?
- How do I create a collection (from the windows console)?
- How do I create a connection from Java? (SO independent)
- How do I add a document to my collection? (SO independent)
- How do I delete a document from my collection? (SO independent)
- How do I query my documents? (SO independent)
- Can I access my collection from the browser and how?