Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update of outdated information #53

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
118 changes: 0 additions & 118 deletions README-2.0.x.md

This file was deleted.

34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# play2-elasticsearch
===================

This module provides an easy [Elasticsearch](http://www.elasticsearch.org/)(v0.90.12) integration in a [Playframework](http://www.playframework.com/) 2 application
This module provides easy [Elasticsearch](http://www.elasticsearch.org/)(v1.1.0) integration in a [Playframework](http://www.playframework.com/) 2 application

![Playframework](http://fr.clever-age.com/local/cache-vignettes/L220xH78/play-logo-13d8c.png "Playframework")
![Elasticsearch](http://fr.clever-age.com/local/cache-vignettes/L250xH78/logoelasticsearchsmall-292be.png "Elasticsearch")
Expand All @@ -10,8 +10,6 @@ This module provides an easy [Elasticsearch](http://www.elasticsearch.org/)(v0.9

## Versions

For Playframework version **2.0.x**, see **README-2.0.x.md**

Module | Playframework | Elasticsearch | Comments | Diff
--- | --- | --- | --- | ---
0.5.0 | 2.1-RC1 | 0.19.10 | Compatibility with play 2.1-RC1
Expand All @@ -26,13 +24,13 @@ Module | Playframework | Elasticsearch | Comments | Diff
0.8-SNAPSHOT | 2.2.1 | 0.90.12 | Upgrade to ES 0.90.12 & play 2.2.1
0.8.1 | 2.2.1 | 0.90.12 | Upgrade to ES 0.90.12 & play 2.2.1
0.8.2 | 2.2.1 | 0.90.12 | Small fixes
1.1.0 | 2.2.1 | 1.1.0 | Upgrading the ES 1.1.0 (#47)
1.1.0 | 2.2.1 | 1.1.0 | Upgrading to ES 1.1.0 (#47)

## Install

The dependency declaration is :
```
"com.clever-age" % "play2-elasticsearch" % "0.8.2"
"com.clever-age" % "play2-elasticsearch" % "1.1.0"
```

Since v0.8.1, releases are published on maven-central, so you don't have to define any specific resolvers.
Expand All @@ -42,23 +40,25 @@ If you want to use a snapshot version, you will have to register the Sonatype OS
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
```

Your `build.sbt` should look like :
So the `Build.scala` should look like:
```
import sbt._

name := "test-play2-elasticsearch"

version := "1.0-SNAPSHOT"
object ApplicationBuild extends Build {

libraryDependencies ++= Seq(
jdbc,
cache,
"com.clever-age" % "play2-elasticsearch" % "0.8.2"
)
val appName = "elasticsearch-sample"
val appVersion = "0.1-SNAPSHOT"

play.Project.playScalaSettings
val appDependencies = Seq(
"com.clever-age" % "play2-elasticsearch" % "1.1.0"
)

// Uncomment this line if you use a snapshot version
// resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
val main = play.Project(appName, appVersion, appDependencies).settings(
// Add your own project settings here
// Uncomment this line if you use a snapshot version
// resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
)
}
```

## Activate the plugin
Expand Down