Skip to content

Commit

Permalink
Merge pull request #1 from didiez/fix-topic-to-collection-name
Browse files Browse the repository at this point in the history
fix jcustenborder#53 use topic name to compute collection name
  • Loading branch information
didiez authored Mar 29, 2023
2 parents c917b5c + 77a145b commit 31c57d9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ SolrClient client(String topic) {
@Override
protected void process(String topic, UpdateRequest updateRequest) throws IOException, SolrServerException {
SolrClient client = client(topic);
UpdateResponse response = updateRequest.process(client);
String collection = topic.isBlank() ? null : topic;
UpdateResponse response = updateRequest.process(client, collection);
log.trace("process() - qtime = {} elapsedTime = {}", response.getQTime(), response.getElapsedTime());
}

Expand Down

0 comments on commit 31c57d9

Please sign in to comment.