Git River Plugin for ElasticSearch
Java Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE.txt
NOTICE.txt
README.md
go.sh
pom.xml
release.sh

README.md

Git River for Elasticsearch

Welcome to the Git River Plugin for "Elasticsearch"

Versions

Git River PluginElasticSearch
master (0.0.x)master (0.90.3)

Getting Started

Installation

Just type :

% bin/plugin --install com.bazoud.elasticsearch/elasticsearch-river-git/0.0.2
-> Installing com.bazoud.elasticsearch/elasticsearch-river-git/0.0.2...
Trying http://download.elasticsearch.org/com.bazoud.elasticsearch/elasticsearch-river-git/elasticsearch-river-git-0.0.2.zip...
Trying http://search.maven.org/remotecontent?filepath=com/bazoud/elasticsearch/elasticsearch-river-git/0.0.2/elasticsearch-river-git-0.0.2.zip...
Downloading ..............DONE
Installed river-git into /path/to/elasticsearch/plugins/river-git

Creating a Git river

We create first an index to store data

$ curl -XPUT 'localhost:9200/git/' -d '{}'

We create the river with the following properties :

  • Project name (it is supposed to be unique): obazoud-elasticsearch
  • Git uri: git://github.com/obazoud/elasticsearch.git
$ curl -XPUT 'localhost:9200/_river/git/_meta' -d '{
  "type": "git",
  "git": {
   "name": "obazoud-elasticsearch",
   "uri": "git://github.com/obazoud/elasticsearch-river-git.git",
   "issue_regex": "#(\\d*)",
   "indexing_diff": false,
   "update_rate": 1800000
  }
}'

Build

Build Status

LICENSE

This software is licensed under the Apache 2 license, quoted below.

Copyright 2013 Olivier BAZOUD

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

See LICENSE