Package net.sf.clairv.index.processor

Examples of net.sf.clairv.index.processor.ResourceProcessor.process()


    for (Iterator itr = resources.iterator(); itr.hasNext(); ) {
      Resource resource = (Resource)itr.next();
      ResourceMetaData meta = resource.getMetaData();
      log.info("Starting to indexing resource: " + meta.getResourceName());
      long start = System.currentTimeMillis();
      int count = resourceProcessor.process(resource);
      log.info("Indexing on resource \"" + meta.getResourceName()
          + "\" done (" + (System.currentTimeMillis() - start)
          + "ms used, " + count + " records indexed)");
    }
    resourceProcessor.close();
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.