Class GeoPointShapeQueryTestCase

java.lang.Object
org.junit.Assert
org.apache.lucene.util.LuceneTestCase
org.elasticsearch.test.ESTestCase
org.elasticsearch.test.ESSingleNodeTestCase
org.elasticsearch.search.geo.GeoPointShapeQueryTestCase
Direct Known Subclasses:
GeoShapeQueryTestCase

public abstract class GeoPointShapeQueryTestCase extends ESSingleNodeTestCase
  • Field Details

  • Constructor Details

    • GeoPointShapeQueryTestCase

      public GeoPointShapeQueryTestCase()
  • Method Details

    • getPlugins

      protected Collection<Class<? extends org.elasticsearch.plugins.Plugin>> getPlugins()
      Description copied from class: ESSingleNodeTestCase
      The plugin classes that should be added to the node.
      Overrides:
      getPlugins in class ESSingleNodeTestCase
    • createMapping

      protected abstract void createMapping(String indexName, String fieldName, org.elasticsearch.common.settings.Settings settings) throws Exception
      Throws:
      Exception
    • createMapping

      protected void createMapping(String indexName, String fieldName) throws Exception
      Throws:
      Exception
    • testNullShape

      public void testNullShape() throws Exception
      Throws:
      Exception
    • testIndexPointsFilterRectangle

      public void testIndexPointsFilterRectangle() throws Exception
      Throws:
      Exception
    • testIndexPointsCircle

      public void testIndexPointsCircle() throws Exception
      Throws:
      Exception
    • testIndexPointsPolygon

      public void testIndexPointsPolygon() throws Exception
      Throws:
      Exception
    • testIndexPointsMultiPolygon

      public void testIndexPointsMultiPolygon() throws Exception
      Throws:
      Exception
    • testIndexPointsRectangle

      public void testIndexPointsRectangle() throws Exception
      Throws:
      Exception
    • testIndexPointsIndexedRectangle

      public void testIndexPointsIndexedRectangle() throws Exception
      Throws:
      Exception
    • testRectangleSpanningDateline

      public void testRectangleSpanningDateline() throws Exception
      Throws:
      Exception
    • testPolygonSpanningDateline

      public void testPolygonSpanningDateline() throws Exception
      Throws:
      Exception
    • testMultiPolygonSpanningDateline

      public void testMultiPolygonSpanningDateline() throws Exception
      Throws:
      Exception
    • testWithInQueryLine

      public void testWithInQueryLine() throws Exception
      Throws:
      Exception
    • testQueryWithinMultiLine

      public void testQueryWithinMultiLine() throws Exception
      Throws:
      Exception
    • testQueryLinearRing

      public void testQueryLinearRing() throws Exception
      Throws:
      Exception
    • testQueryPoint

      public void testQueryPoint() throws Exception
      Throws:
      Exception
    • testQueryMultiPoint

      public void testQueryMultiPoint() throws Exception
      Throws:
      Exception