예제 #1
0
        public void ReloadCore()
        {
            var solrCoreAdmin = new SolrCoreAdmin(new SolrConnection(SolrUrl), GetHeaderParser(), GetStatusResponseParser());

            var reloadResponseHeader = solrCoreAdmin.Reload(CoreNew);

            Assert.AreEqual(reloadResponseHeader.Status, 0);
        }
예제 #2
0
        public void ReloadCore()
        {
            var coreName      = "core-new";
            var solrCoreAdmin = new SolrCoreAdmin(new SolrConnection(solrUrl), GetHeaderParser(), GetStatusResponseParser());

            var reloadResponseHeader = solrCoreAdmin.Reload(coreName);

            Assert.Equal(0, reloadResponseHeader.Status);
        }