mvolikas commented on code in PR #1242: URL: https://github.com/apache/incubator-stormcrawler/pull/1242#discussion_r1650032704
########## external/solr/src/main/java/org/apache/stormcrawler/solr/persistence/StatusUpdaterBolt.java: ########## @@ -83,6 +126,23 @@ public void store( doc.setField(String.format(Locale.ROOT, "%s.%s", mdPrefix, key), values); } + String partitionKey = partitioner.getPartition(url, metadata); + if (partitionKey == null) { + partitionKey = "_DEFAULT_"; + } + + // store routing key in metadata? + if (StringUtils.isNotBlank(fieldNameForRoutingKey) && routingFieldNameInMetadata) { Review Comment: Yes, I will change this. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@stormcrawler.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org