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

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


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


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

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

TOP

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

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.