Use Document order traversal for reindexing performed on DocumentNodeStore setups
Exclude hidden docs. Some hidden doc may get pass the id test due to long
paths. So they need to be filtered here
@@ -90,7 +90,7 @@ public class NodeStateEntryTraverser implements Iterable<NodeStateEntry>, Closea
@SuppressWarnings("Guava")
private Iterable<NodeStateEntry> getIncludedDocs() {
return FluentIterable.from(getDocsFilteredByPath())
- .filter(doc -> !doc.isSplitDocument())
+ .filter(doc -> !doc.isSplitDocument() && !NodeStateUtils.isHiddenPath(doc.getPath()))
.transformAndConcat(doc -> getEntries(doc));
}
