.getContext().getItemStateManager(), index
.getNamespaceMappings(), index.getTextAnalyzer(), propReg,
index.getSynonymProvider(), index.getIndexFormatVersion(),
index.getContext().getVirtualTableResolver());
OrderQueryNode orderNode = root.getOrderNode();
OrderQueryNode.OrderSpec[] orderSpecs;
if (orderNode != null) {
orderSpecs = orderNode.getOrderSpecs();
} else {
orderSpecs = new OrderQueryNode.OrderSpec[0];
}
QPath[] orderProperties = new QPath[orderSpecs.length];
boolean[] ascSpecs = new boolean[orderSpecs.length];