Package com.gentics.cr.lucene.search.highlight

Examples of com.gentics.cr.lucene.search.highlight.VectorBolder.highlight()


  }

  public void testVectorBolder() throws Exception {
    System.out.println("VECTOR");
    VectorBolder h = new VectorBolder(new GenericConfiguration());
    String ret = h.highlight(query, searcher.getIndexReader(), 0, "binarycontent");
    System.out.println(ret);

    assertTrue(ret != null && !"".equals(ret));
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.