Package org.apache.lucene.benchmark.byTask.utils

Examples of org.apache.lucene.benchmark.byTask.utils.StringBufferReader


    }
    return sb;
  }
 
  private Reader getTrecDocReader(StringBuffer docBuffer) {
    StringBufferReader r = trecDocReader.get();
    if (r == null) {
      r = new StringBufferReader(docBuffer);
      trecDocReader.set(r);
    } else {
      r.set(docBuffer);
    }
    return r;
  }
View Full Code Here


    }
    return sb;
  }
 
  private Reader getTrecDocReader(StringBuffer docBuffer) {
    StringBufferReader r = (StringBufferReader) trecDocReader.get();
    if (r == null) {
      r = new StringBufferReader(docBuffer);
      trecDocReader.set(r);
    } else {
      r.set(docBuffer);
    }
    return r;
  }
View Full Code Here

TOP

Related Classes of org.apache.lucene.benchmark.byTask.utils.StringBufferReader

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.