@Override
  protected boolean isCompactRangeIndex() {
    return false;
  }
Verify if the index is available of the buckets. If not create index on the bucket.
geode-core/src/main/java/org/apache/geode/cache/query/internal/index/PartitionedIndex.java