Class GeoBoundingBoxQueryIntegTestCase

java.lang.Object
org.junit.Assert
org.apache.lucene.util.LuceneTestCase
org.elasticsearch.test.ESTestCase
org.elasticsearch.test.ESIntegTestCase
org.elasticsearch.search.geo.GeoBoundingBoxQueryIntegTestCase

public abstract class GeoBoundingBoxQueryIntegTestCase extends ESIntegTestCase
  • Constructor Details

    • GeoBoundingBoxQueryIntegTestCase

      public GeoBoundingBoxQueryIntegTestCase()
  • Method Details

    • getMapping

      public abstract org.elasticsearch.xcontent.XContentBuilder getMapping() throws IOException
      Get the mapping for this test. It should contain a field called `location' that supports GeoBoundingBox queries.
      Throws:
      IOException
    • randomSupportedVersion

      public abstract org.elasticsearch.Version randomSupportedVersion() throws IOException
      Provides a supported version when the mapping was created.
      Throws:
      IOException
    • forbidPrivateIndexSettings

      protected boolean forbidPrivateIndexSettings()
      Overrides:
      forbidPrivateIndexSettings in class ESIntegTestCase
    • testSimpleBoundingBoxTest

      public void testSimpleBoundingBoxTest() throws Exception
      Throws:
      Exception
    • testLimit2BoundingBox

      public void testLimit2BoundingBox() throws Exception
      Throws:
      Exception
    • testCompleteLonRange

      public void testCompleteLonRange() throws Exception
      Throws:
      Exception