Class SearchModule


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

      • INDICES_MAX_CLAUSE_COUNT_SETTING

        public static final Setting<java.lang.Integer> INDICES_MAX_CLAUSE_COUNT_SETTING
    • Constructor Detail

      • SearchModule

        public SearchModule​(Settings settings,
                            boolean transportClient,
                            java.util.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.