Example usage for org.apache.lucene.index LiveIndexWriterConfig getInfoStream

List of usage examples for org.apache.lucene.index LiveIndexWriterConfig getInfoStream

Introduction

In this page you can find the example usage for org.apache.lucene.index LiveIndexWriterConfig getInfoStream.

Prototype

public InfoStream getInfoStream() 

Source Link

Document

Returns InfoStream used for debugging.

Usage

From source file:org.apache.solr.core.TestSolrIndexConfig.java

License:Apache License

private void checkIndexWriterConfig(LiveIndexWriterConfig iwc) {

    assertEquals(123, iwc.getMaxThreadStates());
    assertTrue(iwc.getInfoStream() instanceof PrintStreamInfoStream);
    assertTrue(iwc.getMergePolicy().getClass().toString(), iwc.getMergePolicy() instanceof RandomMergePolicy);

}