Class SolrTestCaseHS.Client

    • Constructor Detail

      • Client

        public Client​(List<org.apache.solr.client.solrj.SolrClient> clients,
                      int seed)
    • Method Detail

      • hash

        public static int hash​(int x)
      • queryDefaults

        public org.apache.solr.common.params.ModifiableSolrParams queryDefaults()
      • local

        public boolean local()
      • testJQ

        public void testJQ​(org.apache.solr.common.params.SolrParams args,
                           String... tests)
                    throws Exception
        Throws:
        Exception
      • testXQ

        public void testXQ​(org.apache.solr.common.params.SolrParams args,
                           String... tests)
                    throws Exception
        tests are validated against xml response
        Throws:
        Exception
      • add

        public Long add​(org.apache.solr.common.SolrInputDocument sdoc,
                        org.apache.solr.common.params.ModifiableSolrParams params)
                 throws Exception
        Throws:
        Exception
      • commit

        public void commit()
                    throws IOException,
                           org.apache.solr.client.solrj.SolrServerException
        Throws:
        IOException
        org.apache.solr.client.solrj.SolrServerException
      • deleteByQuery

        public void deleteByQuery​(String query,
                                  org.apache.solr.common.params.ModifiableSolrParams params)
                           throws IOException,
                                  org.apache.solr.client.solrj.SolrServerException
        Throws:
        IOException
        org.apache.solr.client.solrj.SolrServerException