Skip to content

Commit

Permalink
es 5.6.9 support
Browse files Browse the repository at this point in the history
  • Loading branch information
shi-yuan committed Apr 24, 2018
1 parent 6e5064a commit df485da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>org.ansj</groupId>
<artifactId>elasticsearch-analysis-ansj</artifactId>
<version>5.6.8.0</version>
<version>5.6.9.0</version>
<description>elasticsearch analysis by ansj</description>
<name>elasticsearch-analysis-ansj</name>
<url>http://maven.nlpcn.org</url>
Expand All @@ -21,7 +21,7 @@
<runSuite>**/MainTestSuite.class</runSuite>
<elasticsearch.plugin.name>elasticsearch-analysis-ansj</elasticsearch.plugin.name>
<elasticsearch.plugin.java.version>1.8</elasticsearch.plugin.java.version>
<elasticsearch.version>5.6.8</elasticsearch.version>
<elasticsearch.version>5.6.9</elasticsearch.version>
<elasticsearch.plugin.classname>org.ansj.elasticsearch.plugin.AnalysisAnsjPlugin</elasticsearch.plugin.classname>
</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,15 +315,15 @@ public AnsjResponse newInstance() {
@Override
public void handleResponse(AnsjResponse response) {
LOG.info("[{}] response: {}", node, response.asMap());
countDownLatch.countDown();
result.put(node.getAddress().toString(), "success");
countDownLatch.countDown();
}

@Override
public void handleException(TransportException exp) {
LOG.warn("failed to send request[path:{},args:{}] to [{}]: {}", req.getPath(), req.asMap(), node, exp);
countDownLatch.countDown();
result.put(node.getAddress().toString(), "err :" + exp.getMessage());
countDownLatch.countDown();
}

@Override
Expand Down

0 comments on commit df485da

Please sign in to comment.