Skip to content

Commit 801923a

Browse files
committed
fix(core): narrow hstore range ordering fallback
1 parent b4a135f commit 801923a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/tx/GraphIndexTransaction.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,9 @@ private boolean needHstoreRangeIndexOrder(IndexLabel indexLabel) {
671671
private IdHolder doHstoreRangeIndexQuery(IndexLabel indexLabel,
672672
ConditionQuery query) {
673673
if (!query.paging()) {
674+
if (query.noLimitAndOffset()) {
675+
return this.doIndexQueryBatch(indexLabel, query);
676+
}
674677
Set<Id> ids = this.querySortedRangeIndexIds(indexLabel, query);
675678
return this.newSortedRangeIndexBatchHolder(query, ids);
676679
}

0 commit comments

Comments
 (0)