elasticsearch-transport-redis

redis transport for ElasticSearch

License

License

Categories

Categories

Redis Data Databases Search Business Logic Libraries Elasticsearch
GroupId

GroupId

com.github.kzwang
ArtifactId

ArtifactId

elasticsearch-transport-redis
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

elasticsearch-transport-redis
redis transport for ElasticSearch
Project URL

Project URL

http://github.com/kzwang/elasticsearch-transport-redis
Source Code Management

Source Code Management

http://github.com/kzwang/elasticsearch-transport-redis

Download elasticsearch-transport-redis

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.kzwang/elasticsearch-transport-redis/ -->
<dependency>
    <groupId>com.github.kzwang</groupId>
    <artifactId>elasticsearch-transport-redis</artifactId>
    <version>2.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.kzwang/elasticsearch-transport-redis/
implementation 'com.github.kzwang:elasticsearch-transport-redis:2.0.0'
// https://jarcasting.com/artifacts/com.github.kzwang/elasticsearch-transport-redis/
implementation ("com.github.kzwang:elasticsearch-transport-redis:2.0.0")
'com.github.kzwang:elasticsearch-transport-redis:jar:2.0.0'
<dependency org="com.github.kzwang" name="elasticsearch-transport-redis" rev="2.0.0">
  <artifact name="elasticsearch-transport-redis" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.kzwang', module='elasticsearch-transport-redis', version='2.0.0')
)
libraryDependencies += "com.github.kzwang" % "elasticsearch-transport-redis" % "2.0.0"
[com.github.kzwang/elasticsearch-transport-redis "2.0.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.elasticsearch : elasticsearch jar 1.0.0

test (5)

Group / Artifact Type Version
org.apache.lucene : lucene-test-framework jar 4.6.1
log4j : log4j jar 1.2.17
redis.clients : jedis jar 2.2.1
org.elasticsearch : elasticsearch test-jar 1.0.0
org.hamcrest : hamcrest-all jar 1.3

Project Modules

There are no modules declared in this project.

Redis Transport for ElasticSearch

Build Status

The Redis transport plugin allows to use the REST interface over Redis (though with limitations). Modified from Memcached Transport for ElasticSearch

In order to install the plugin, simply run: bin/plugin -install com.github.kzwang/elasticsearch-transport-redis/2.0.0.

Redis Plugin elasticsearch Release date
2.1.0-SNAPSHOT (master) 1.0.0
2.0.0 1.0.0 2014-02-13
2.0.0.RC2 1.0.0.RC2 2014-02-07
2.0.0.RC1 1.0.0.RC2 2014-02-04
1.1.0-SNAPSHOT (1.x) 0.90.11
1.0.0 0.90.10 2014-02-03

Supported Commands

GET

Mapped to REST GET request, key is the URI (with parameters), returns same JSON result as REST

SET

Mapped to REST POST request, key is the URI (with parameters), value is REST body, by default returns OK for success and Error for fail, can be configured to return same JSON response as REST Can optionally add PUT keywords before REST body to use PUT request. e.g. PUT{"test":true}

DELETE

Mapped to REST DELETE request, key is the URI (with parameters), by default returns 1 for success and 0 for fail, can be configured to return same JSON response as REST

EXISTS

Mapped to REST HEAD request, key is the URI (with parameters), returns 1 for exists and 0 for not exists or fail

QUIT

Disconnect the client

Settings

Setting Description
redis.enabled set to false to disable redis transport
redis.port A bind port range, default to 6379-6479
redis.response.set standard or json, controls response for SET command, standard will return OK or Error, json will return same JSON response as REST, default to standard, can be changed dynamically
redis.response.del standard or json, controls response for DEL command, standard will return 1 or 0, json will return same JSON response as REST, default to standard, can be changed dynamically

Versions

Version
2.0.0
2.0.0.RC2
2.0.0.RC1
1.0.0