edsu / Geonames Localsolr
A little project to help bootstrap a local-solr instance with geonames data.
Stars: ✭ 13
Programming Languages
python
139335 projects - #7 most used programming language
Ever wanted your own geonames data service? Here's how to get your own local-solr instance with geonames cities data in minutes:
- git clone https://[email protected]/edsu/geonames-localsolr.git
- wget http://www.nsshutdown.com/solr-example.tgz
- tar xvfz solr-example.tgz
- cp schema.xml solr-example/apache-solr-1.3.0/example/solr/conf/schema.xml
- cd solr-example/apache-solr-1.3.0/example
- java -Djetty.port=8083 -jar start.jar &
- sudo easy_install solr
- wget http://download.geonames.org/export/dump/cities1000.zip
- unzip cities1000.zip
- ./index.py cities1000.txt http://localhost:8083/solr
- watch & wait
- http://localhost:8083/solr/select/?/solr/select?&qt=geo&lat=-42.7833&long=147.0666&radius=50&q=:
More information about local-solr available at:
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].