public long getSearchIndex() {
    return searchIndex;
  }
this index is used by wal search, its order should be protected by the upper layer, and the
value should start from 1
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/SearchNode.java