The MongoDB SOLR Connector

I keep coming back to SOLR (professionally, and in my own time).  I like what it does, and how it “does what it says on the tin”.

I recently found out about the MongoDB connector, with one connector for SOLR.  I covered how to get data (from a MySQL database into MongoDB).  Installing Tomcat 6 / SOLR, and running the mongo_connector.py to export data from MongoDB to Solr:

> > Install Tomcat6/SOLR: > sudo apt-get install solr-tomcat > sudo service tomcat6 start > > > > Running the MongoDB connector: > sudo python mongo_connector.py -m localhost:27017 -t http://localhost:8080/solr -d ./doc_managers/solr_doc_manager.py > out.txt > >

Author | Miles Davenport

Career programmer, who designs, assembles, fixes, and supports customers, software and systems.