Package org.apache.blur.trace

Examples of org.apache.blur.trace.LogTraceStorage


    }
  }

  public static void main(String[] args) throws Throwable {

    Trace.setStorage(new LogTraceStorage(new BlurConfiguration()));

    args = removeLeadingShellFromScript(args);

    setupCommands();
View Full Code Here


  @Test
  public void testFacetQueryPerformance1() throws IOException, InterruptedException {
    System.out.println("testFacetQueryPerformance1");
    BlurConfiguration configuration = new BlurConfiguration();
    Trace.setStorage(new LogTraceStorage(configuration));
    int facetCount = 200;
    int docCount = 1000000;
    IndexReader reader = createIndex(docCount, facetCount, false);

    Query[] facets = new Query[facetCount];
View Full Code Here

  @Test
  public void testFacetQueryPerformance2() throws IOException, InterruptedException {
    System.out.println("testFacetQueryPerformance2");
    BlurConfiguration configuration = new BlurConfiguration();
    Trace.setStorage(new LogTraceStorage(configuration));
    int facetCount = 200;
    int docCount = 1000000;
    IndexReader reader = createIndex(docCount, facetCount, false);

    Query[] facets = new Query[facetCount];
View Full Code Here

          + "] set.");
    }
    if (hdfsPath != null) {
      return new HdfsTraceStorage(configuration);
    } else {
      return new LogTraceStorage(configuration);
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.blur.trace.LogTraceStorage

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.