Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
amihaiemil committed Oct 3, 2016
1 parent 3ada667 commit 046ce44
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ public ElasticSearchRepository(
}
this.post = new ApacheRequest(wCredentials + "/_bulk?pretty")
.header("content-type", "application/json");
} else {
this.post = new ApacheRequest(index + "/_bulk?pretty")
.header("content-type", "application/json");
}
}

Expand Down

0 comments on commit 046ce44

Please sign in to comment.