Package com.liferay.util.lucene

Examples of com.liferay.util.lucene.Indexer.reIndex()


        if (portlet.isActive() && className != null) {
          _log.debug("Re-indexing with " + className + " started");

          Indexer indexer = (Indexer)InstancePool.get(className);

          indexer.reIndex(indexIds);

          _log.debug("Re-indexing with " + className + " completed");
        }
      }
    }
View Full Code Here


    if (Validator.isNotNull(portlet.getIndexerClass())) {
      Indexer indexer =
        (Indexer)InstancePool.get(portlet.getIndexerClass());

      indexer.reIndex(new String[] {companyId});
    }

    // Session messages

    SessionMessages.add(req, "portlet_index_updated");
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.