public boolean isCompatibleWith(IntItem item) {
            if ( ! indexName.equals(item.getIndexName())) return false;
            if (creator != item.getCreator()) return false;
            if (ranked != item.isRanked()) return false;
            if (weight != item.getWeight()) return false;
            return true;
        }
Represents the ranges searched in a single field
container-search/src/main/java/com/yahoo/search/querytransform/RangeQueryOptimizer.java