Skip to content

isudarsan/pincodes-lucene

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codacy Badge Build Status

pincodes-lucene

Pincodes:Solr Implementation

Indian Pin Codes Rest API provides the below endpoints to fetch related information from Solr. Configuring Solr Server & importing data from MySQL to Solr, have a look at the below links.

https://github.com/isudarsan/pincodes-csvtodb-transformer

https://github.com/isudarsan/document-inventory/wiki/Import-data-from-MySQL-to-Solr

https://github.com/isudarsan/pincodes

Docker Deployment

Solr is the popular, blazing-fast, open source enterprise search platform built on Apache Lucene™.To run a single Solr server in docker, use the below docker command.

docker run --name pincodes_solr_server -d -p 8983:8983 -t solr

Then with a web browser go to http://localhost:8983/ to see the Admin Console (adjust the hostname for your docker host).

A Dockerfile is available in the project, build a docker image for our application. Type the following command from the root directory of the project to build the docker image

$ docker build -t pincodessolr .

Once we have a docker image, run and link with Solr Server Container which we already createed.

docker run -p 8080:8080 --name pincodes_solr_service --link pincodes_solr_server -d pincodessolr

The application Docker image is also available in Docker Hub : https://hub.docker.com/r/isudarsan/zarvis-apps/tags/

Image can be pulled directly from Docker Hub using docker pull isudarsan/zarvis-apps:pincodessolr-0.0.1-SNAPSHOT

Releases

No releases published

Packages

No packages published