Class ConcurrentSearchTestPlugin

java.lang.Object
org.elasticsearch.plugins.Plugin
org.elasticsearch.search.ConcurrentSearchTestPlugin
All Implemented Interfaces:
Closeable, AutoCloseable

public class ConcurrentSearchTestPlugin extends Plugin
This plugin is used to register the SearchService.MINIMUM_DOCS_PER_SLICE setting. This setting forces the SearchService to create many slices even when very few documents are available, something we don;t really want to happen in real usage.
  • Constructor Details

    • ConcurrentSearchTestPlugin

      public ConcurrentSearchTestPlugin()
  • Method Details