Skip to content

Commit

Permalink
extractor hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
searsia committed May 25, 2017
1 parent 25b50ba commit 6256dd4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/org/searsia/engine/TextExtractor.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ public void extract(Node item, Hit hit) throws XPathExpressionException {
if (nodeList != null) {
for (int i=0; i < nodeList.getLength(); i++) {
Node node = nodeList.item(i);
if (!resultString.equals("")) {
resultString += " ";
}
resultString += node.getTextContent();
}
}
Expand Down

0 comments on commit 6256dd4

Please sign in to comment.