Class BBoxSimilarityValueSource

  • All Implemented Interfaces:
    SegmentCacheable
    Direct Known Subclasses:
    BBoxOverlapRatioValueSource

    public abstract class BBoxSimilarityValueSource
    extends DoubleValuesSource
    A base class for calculating a spatial relevance rank per document from a provided ShapeValuesSource returning a Rectangle per-document.

    Implementers: remember to implement equals and hashCode if you have fields!

    WARNING: This API is experimental and might change in incompatible ways in the next release.