Class MiniClusterState


  • public class MiniClusterState
    extends Object
    The base class for Solr JMH benchmarks that operate against a MiniSolrCloudCluster.
    • Field Detail

      • PROC_COUNT

        public static final int PROC_COUNT
        The constant PROC_COUNT.
    • Constructor Detail

      • MiniClusterState

        public MiniClusterState()
    • Method Detail

      • params

        public static org.apache.solr.common.params.ModifiableSolrParams params​(String... moreParams)
        Params modifiable solr params.
        Parameters:
        moreParams - the more params
        Returns:
        the modifiable solr params
      • params

        public static org.apache.solr.common.params.ModifiableSolrParams params​(org.apache.solr.common.params.ModifiableSolrParams params,
                                                                                String... moreParams)
        Params modifiable solr params.
        Parameters:
        params - the params
        moreParams - the more params
        Returns:
        the modifiable solr params
      • getFile

        public static File getFile​(String name)
        Gets file.
        Parameters:
        name - the name
        Returns:
        the file