Skip to content

redbox-mint/solr-geonames

Repository files navigation

NOTE: This project was migrated from https://code.google.com/p/solr-geonames/ Overview

This project has a pair of basic Java applications:

  • The first harvests the Geonames.org dataset into an embedded Solr index.
  • The second wraps the embedded Solr index in a basic Java Servlet.

Documentation

Given the amount of data indexed we don't upload the indexed data to this project. So installing is a two step process:

  • Developer Installation: is required to build your index data (at least once), and you can use this to run a simple dev server.
  • Deploying using Jetty: is an example of deploying the resulting data and WAR file to an existing server.

Some more background information/documentation:

Deployment

Artifacts are now available in Maven Central [MavenDeployment via Sonatype], and can be included in your project like so:

        <dependency>
            <groupId>com.googlecode.solr-geonames</groupId>
            <artifactId>solr-geonames-server</artifactId>
            <type>war</type>
            <version>1.0</version>
        </dependency>
        <dependency>
            <groupId>com.googlecode.solr-geonames</groupId>
            <artifactId>solr-geonames-harvester</artifactId>
            <version>1.0</version>
        </dependency>

A 'skinny' WAR artifact is also available if you don't want to bring down the ~10mb WAR with JARs bundled inside:

        <dependency>
            <groupId>com.googlecode.solr-geonames</groupId>
            <artifactId>solr-geonames-server</artifactId>
            <type>war</type>
            <classifier>skinny</classifier>
            <version>1.0</version>
        </dependency>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published