Package org.qi4j.index.elasticsearch

Examples of org.qi4j.index.elasticsearch.ElasticSearchTest$Author


  public static void main() {
    List<Update> lu = new ArrayList<Update>();
    String text = "";
    final Update.Builder ub = new Update.Builder();
    final Author a = new Author("Tallulah");

    for (int i = 0; i < 256; i++) {
      text = text + "X";
      long now = System.currentTimeMillis();
      lu.add(ub.author(a).updateText(text).createTime(now).build());
View Full Code Here

TOP

Related Classes of org.qi4j.index.elasticsearch.ElasticSearchTest$Author

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.