Class GeoShapeIntegTestCase

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

public abstract class GeoShapeIntegTestCase extends ESIntegTestCase
  • Constructor Details

    • GeoShapeIntegTestCase

      public GeoShapeIntegTestCase()
  • Method Details

    • getGeoShapeMapping

      protected abstract void getGeoShapeMapping(org.elasticsearch.xcontent.XContentBuilder b) throws IOException
      Provides the content of the mapping. Typically, it adds the type and any other attribute if necessary.
      Throws:
      IOException
    • randomSupportedVersion

      protected abstract org.elasticsearch.Version randomSupportedVersion()
      Provides a supported version when the mapping was created.
    • allowExpensiveQueries

      protected abstract boolean allowExpensiveQueries()
      If this field is allowed to be executed when setting allow_expensive_queries us set to false.
    • forbidPrivateIndexSettings

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

      public void testOrientationPersistence() throws Exception
      Test that orientation parameter correctly persists across cluster restart
      Throws:
      Exception
    • testIgnoreMalformed

      public void testIgnoreMalformed() throws Exception
      Test that ignore_malformed on GeoShapeFieldMapper does not fail the entire document
      Throws:
      Exception
    • testIndexShapeRouting

      public void testIndexShapeRouting() throws Exception
      Test that the indexed shape routing can be provided if it is required
      Throws:
      Exception
    • testIndexPolygonDateLine

      public void testIndexPolygonDateLine() throws Exception
      Throws:
      Exception
    • testDisallowExpensiveQueries

      public void testDisallowExpensiveQueries() throws InterruptedException, IOException
      Throws:
      InterruptedException
      IOException
    • testShapeRelations

      public void testShapeRelations() throws Exception
      Throws:
      Exception
    • testBulk

      public void testBulk() throws Exception
      Throws:
      Exception