Skip to content

Commit

Permalink
[ issue #95 ] Release 6.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
agazzarini committed Nov 15, 2019
1 parent 64a6f86 commit 76adf41
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion rre-maven-plugin/rre-maven-elasticsearch-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>rre-maven-elasticsearch-plugin</artifactId>
<version>7.0.1</version>
<version>6.8.4</version>
<packaging>maven-plugin</packaging>
<name>RRE - Maven Elasticsearch Plugin</name>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>rre-maven-external-elasticsearch-plugin</artifactId>
<version>7.0.1</version>
<version>6.8.4</version>
<packaging>maven-plugin</packaging>
<name>RRE - Maven External Elasticsearch Plugin</name>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>rre-search-platform-elasticsearch-impl</artifactId>
<version>7.0.1</version>
<version>6.8.4</version>
<name>RRE - Elasticsearch platform binding</name>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
import static java.util.Arrays.asList;
import static java.util.Arrays.stream;
import static java.util.Collections.emptyList;
import static java.util.Collections.emptyMap;
import static java.util.Optional.ofNullable;
import static java.util.stream.Collectors.toList;
import static org.elasticsearch.client.Requests.createIndexRequest;
Expand All @@ -77,7 +76,12 @@ public class Elasticsearch implements SearchPlatform {

private static class RRENode extends Node {
RRENode(final Settings settings, final Collection<Class<? extends Plugin>> plugins) {
super(prepareEnvironment(settings, emptyMap(), null, () -> "ANodeName"), plugins, true);
super(prepareEnvironment(settings, null), plugins, true);
}

@Override
protected void registerDerivedNodeNameWithLogger(String s) {
// empty
}
}

Expand Down Expand Up @@ -264,7 +268,7 @@ SearchRequest buildSearchRequest(final String indexName, final String query, fin

QueryOrSearchResponse convertResponse(final SearchResponse searchResponse) {
return new QueryOrSearchResponse(
searchResponse.getHits().getTotalHits().value,
searchResponse.getHits().totalHits,
stream(searchResponse.getHits().getHits())
.map(hit -> {
final Map<String, Object> result = new HashMap<>(hit.getSourceAsMap());
Expand Down

0 comments on commit 76adf41

Please sign in to comment.