Package org.apache.accumulo.examples.wikisearch.logic

Examples of org.apache.accumulo.examples.wikisearch.logic.QueryLogic


    List<String> authorizations = new ArrayList<String>();
    if (auths != null && auths.length() > 0)
      for (String a : auths.split(","))
        authorizations.add(a);
   
    QueryLogic table = new QueryLogic();
    table.setTableName(tableName);
    table.setMetadataTableName(tableName + "Metadata");
    table.setIndexTableName(tableName + "Index");
    table.setReverseIndexTableName(tableName + "ReverseIndex");
    table.setQueryThreads(threads);
    table.setUnevaluatedFields("TEXT");
    table.setUseReadAheadIterator(false);
    return table.runQuery(connector, authorizations, query, null, null, null);
  }
View Full Code Here

TOP

Related Classes of org.apache.accumulo.examples.wikisearch.logic.QueryLogic

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.