public void startSearcherPruningThread(CountDownLatch shutdownNow){
  if (searcherPruningThread == null) {
    searcherPruningThread=new SearcherPruningThread(shutdownNow);
    searcherPruningThread.setName("LuceneSearcherPruning-" + name);
    searcherPruningThread.start();
  }
}

public void startSearcherPruningThread ( CountDownLatch shutdownNow ) { if ( searcherPruningThread == null ) { searcherPruningThread = new SearcherPruningThread ( shutdownNow ) ; searcherPruningThread . setName ( "LuceneSearcherPruning-" + name ) ; searcherPruningThread . start ( ) ; } }
start the searcher pruning thread .
