Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Convert git commit history to solr index
Java
branch: master

Add missing config file

latest commit 279e0af42e
gsieling authored
Failed to load latest commit information.
conf Fix log4j settings, and helloworld of quartz
.gitignore Add Ivy configuration to download dependencies for project on demand
.travis.yml Add Ivy configuration to download dependencies for project on demand
Main.java
README.md Update README.md
Workflow.java Fix log4j settings, and helloworld of quartz
WorkflowJob.java Fix log4j settings, and helloworld of quartz
authors.txt Add missing config file
build.xml Fix errors with Quartz demo
ivy.xml Fix errors with Quartz demo
logging-schema.xml adding xml config files
schema.xml Minor indexing performance improvement - halve size of index

README.md

solr-git Build status

About

Convert git commit history to solr index

See http://garysieling.com/blog/converting-git-commit-history-to-a-solr-full-text-index for more information

Talk: https://rawgithub.com/garysieling/git-solr-talk/master/index.html

Setup

Setup pre-requisites:

apt-get install openjdk-7-jdk git-core tomcat7 unzip

Solr setup:

cd ~
wget http://apache.mesi.com.ar/lucene/solr/4.5.1/solr-4.5.1.zip
unzip solr-4.5.1.zip

Get application source code:

git clone https://github.com/garysieling/solr-git.git

Copy schema.xml and authors.txt into the Solr distribution:

cp solr-git/schema.xml solr-4.5.1/example/solr/collection1/conf/
cp solr-git/authors.txt solr-4.5.1/example/solr/collection1/conf/

Start Solr:

cd /solr-4.5.1/example
java -jar start.jar

Modify the URL to point to your local Solr server, if needed (i.e. if you changed the default port or ran it on a different machine).

Edit the location of the local git files you want indexed.

This can be run from Eclipse, but you need to add jars from the Solr installation.

Something went wrong with that request. Please try again.