Skip to content

Commit

Permalink
Updated to ES 1.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
khituras committed Sep 17, 2015
1 parent cdf7f98 commit f3812ee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ElasticSearch compatibility table:

| elasticsearch | Preanalyzed Mapper Plugin | Docs
|---------------|----------------------------|------
| es-1.7 | 0.1.0 | [0.1.0] (https://github.com/khituras/elasticsearch-mapper-preanalyzed/tree/es-1.7)
| es-1.5 | 0.0.5 | [0.0.5] (https://github.com/khituras/elasticsearch-mapper-preanalyzed/tree/es-1.5)
| es-1.4 | 0.0.4 | [0.0.4] (https://github.com/khituras/elasticsearch-mapper-preanalyzed/tree/es-1.4)

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.julielab</groupId>
<artifactId>elasticsearch-mapper-preanalyzed</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.1.0</version>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -65,6 +65,6 @@
<parent>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch-parent</artifactId>
<version>1.5.2</version>
<version>1.7.0</version>
</parent>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void testSimple() throws Exception {
String mapping = copyToStringFromClasspath("/simpleMapping.json");
DocumentMapper docMapper = mapperParser.parse(mapping);
byte[] docBytes = copyToBytesFromClasspath("/preanalyzedDoc.json");
BytesStreamInput input = new BytesStreamInput(docBytes, false);
BytesStreamInput input = new BytesStreamInput(docBytes);
BytesReference bytesRef = input.readBytesReference(docBytes.length);
ParseContext.Document doc = docMapper.parse(bytesRef).rootDoc();

Expand Down

0 comments on commit f3812ee

Please sign in to comment.