Package org.apache.lucene.index

Examples of org.apache.lucene.index.ParallelReader


   * Test that complements does not cause a failure when using a parallel reader
   */
  @Test
  public void testComplementsWithParallerReader() throws Exception {
    IndexReader origReader = indexReader;
    ParallelReader pr = new ParallelReader(true);
    pr.add(origReader);
    indexReader = pr;
    try {
      doTestComplements();
    } finally {
      indexReader = origReader;
View Full Code Here

TOP

Related Classes of org.apache.lucene.index.ParallelReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.