Class AbstractNumericFieldMapperTestCase<T extends org.elasticsearch.index.mapper.FieldMapper.Builder<?>>

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

public abstract class AbstractNumericFieldMapperTestCase<T extends org.elasticsearch.index.mapper.FieldMapper.Builder<?>>
extends FieldMapperTestCase<T>
  • Field Details

    • TYPES

      protected java.util.Set<java.lang.String> TYPES
    • WHOLE_TYPES

      protected java.util.Set<java.lang.String> WHOLE_TYPES
    • indexService

      protected org.elasticsearch.index.IndexService indexService
    • parser

      protected org.elasticsearch.index.mapper.DocumentMapperParser parser
  • Constructor Details

  • Method Details

    • setup

      public void setup()
    • getPlugins

      protected java.util.Collection<java.lang.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
    • setTypeList

      protected abstract void setTypeList()
    • testDefaults

      public void testDefaults() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • doTestDefaults

      protected abstract void doTestDefaults​(java.lang.String type) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • testNotIndexed

      public void testNotIndexed() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • doTestNotIndexed

      protected abstract void doTestNotIndexed​(java.lang.String type) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • testNoDocValues

      public void testNoDocValues() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • doTestNoDocValues

      protected abstract void doTestNoDocValues​(java.lang.String type) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • testStore

      public void testStore() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • doTestStore

      protected abstract void doTestStore​(java.lang.String type) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • testCoerce

      public void testCoerce() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • doTestCoerce

      protected abstract void doTestCoerce​(java.lang.String type) throws java.io.IOException
      Throws:
      java.io.IOException
    • testDecimalCoerce

      public void testDecimalCoerce() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • doTestDecimalCoerce

      protected abstract void doTestDecimalCoerce​(java.lang.String type) throws java.io.IOException
      Throws:
      java.io.IOException
    • testNullValue

      public void testNullValue() throws java.io.IOException
      Throws:
      java.io.IOException
    • doTestNullValue

      protected abstract void doTestNullValue​(java.lang.String type) throws java.io.IOException
      Throws:
      java.io.IOException
    • testEmptyName

      public void testEmptyName() throws java.io.IOException
      Throws:
      java.io.IOException
    • testMeta

      public void testMeta() throws java.lang.Exception
      Throws:
      java.lang.Exception