Github user dsmiley commented on a diff in the pull request:
https://github.com/apache/lucene-solr/pull/416#discussion_r205122374
--- Diff:
solr/core/src/java/org/apache/solr/response/transform/DeeplyNestedChildDocTransformer.java
---
@@ -190,8 +179,18 @@ private String getLastPath(String path) {
return path.substring(path.lastIndexOf(PATH_SEP_CHAR.charAt(0)) + 1);
}
- private String trimSuffixFromPaths(String path) {
- return path.replaceAll("#\\d|#", "");
+ private String trimIfSingleDoc(String path) {
--- End diff --
I'll assume this is still WIP as we discussed wanting to use a Set<String>
of child docs, and thus we wouldn't trim conditionally for single doc.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]