solr-git

Convert git commit history to solr index

  • Owner: garysieling/solr-git
  • Platform:
  • License::
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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.

Main metrics

Overview
Name With Ownergarysieling/solr-git
Primary LanguageJava
Program languageJava (Language Count: 1)
Platform
License:
所有者活动
Created At2012-06-17 20:48:50
Pushed At2013-11-02 22:57:45
Last Commit At2013-11-02 19:09:35
Release Count0
用户参与
Stargazers Count73
Watchers Count3
Fork Count13
Commits Count33
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count2
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private