Skip to content

Commit

Permalink
fixed search handler
Browse files Browse the repository at this point in the history
  • Loading branch information
EinsamHauer committed Nov 1, 2022
1 parent ed38701 commit 51d7fa7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>net.iponweb.disthene.reader</groupId>
<artifactId>disthene-reader</artifactId>
<packaging>jar</packaging>
<version>2.0.16</version>
<version>2.0.17</version>
<name>disthene-reader</name>
<url>https://maven.apache.org</url>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public String getSearchPathsAsString(String tenant, String regEx) throws IOExcep

List<String> paths = new ArrayList<>();
for (SearchHit hit : response.getHits()) {
paths.add(hit.getSourceAsString());
paths.add(String.valueOf(hit.getSourceAsMap().get("path")));
}

return Joiner.on(",").skipNulls().join(paths);
Expand Down

0 comments on commit 51d7fa7

Please sign in to comment.