private static boolean isTensorTypeThatSupportsHnswIndex(TensorType tt) {
            var indexedSubtype = tt.indexedSubtype();
            return (indexedSubtype.rank() == 1 && indexedSubtype.hasOnlyIndexedBoundDimensions());
        }
Validates any NearestNeighborItem query items.

@author arnej
container-search/src/main/java/com/yahoo/search/searchers/ValidateNearestNeighborSearcher.java