Class SpatialBoundsAggregationTestBase<T extends SpatialPoint>

java.lang.Object
org.junit.Assert
org.apache.lucene.tests.util.LuceneTestCase

public abstract class SpatialBoundsAggregationTestBase<T extends SpatialPoint> extends AbstractGeoTestCase
  • Constructor Details

    • SpatialBoundsAggregationTestBase

      public SpatialBoundsAggregationTestBase()
  • Method Details

    • aggName

      protected abstract String aggName()
    • boundsAgg

      protected abstract ValuesSourceAggregationBuilder<?> boundsAgg(String aggName, String fieldName)
    • assertBoundsLimits

      protected abstract void assertBoundsLimits(SpatialBounds<T> spatialBounds)
    • testSingleValuedField

      public void testSingleValuedField() throws Exception
      Throws:
      Exception
    • testSingleValuedField_getProperty

      public void testSingleValuedField_getProperty()
    • testMultiValuedField

      public void testMultiValuedField() throws Exception
      Throws:
      Exception
    • testUnmapped

      public void testUnmapped() throws Exception
      Throws:
      Exception
    • testPartiallyUnmapped

      public void testPartiallyUnmapped() throws Exception
      Throws:
      Exception
    • testEmptyAggregation

      public void testEmptyAggregation() throws Exception
      Throws:
      Exception
    • testSingleValuedFieldAsSubAggToHighCardTermsAgg

      public void testSingleValuedFieldAsSubAggToHighCardTermsAgg()
      This test forces the bounds MetricsAggregator to resize the BigArrays it uses to ensure they are resized correctly
    • testSingleValuedFieldWithZeroLon

      public void testSingleValuedFieldWithZeroLon()