Class SearchModule

java.lang.Object
org.elasticsearch.search.SearchModule

public class SearchModule extends Object
Sets up things that can be done at search time like queries, aggregations, and suggesters.
  • Field Details

    • INDICES_MAX_CLAUSE_COUNT_SETTING

      public static final Setting<Integer> INDICES_MAX_CLAUSE_COUNT_SETTING
    • INDICES_MAX_NESTED_DEPTH_SETTING

      public static final Setting<Integer> INDICES_MAX_NESTED_DEPTH_SETTING
  • Constructor Details

    • SearchModule

      public SearchModule(Settings settings, boolean transportClient, List<SearchPlugin> plugins)
      Constructs a new SearchModule object NOTE: This constructor should not be called in production unless an accurate Settings object is provided. When constructed, a static flag is set in Lucene BooleanQuery.setMaxClauseCount(int) according to the settings.
      Parameters:
      settings - Current settings
      transportClient - Is this being constructed in the TransportClient or not
      plugins - List of included SearchPlugin objects.
  • Method Details