Examples of rebuildIndex()


Examples of org.fao.geonet.kernel.search.SearchManager.rebuildIndex()

    GeonetContext gc = (GeonetContext) context.getHandlerContext(Geonet.CONTEXT_NAME);

    SearchManager searchMan = gc.getBean(SearchManager.class);
   
    boolean info = searchMan.rebuildIndex(context, xlinks, reset, fromSelection);

    Element elResp = new Element(Jeeves.Elem.RESPONSE);
    elResp.addContent(new Element("status").setText((info?"true":"false")));
   
    return elResp;
View Full Code Here

Examples of org.jboss.seam.wiki.core.search.IndexManager.rebuildIndex()

    public void resetSearchIndex() throws Exception {

        IndexManager indexMgr = (IndexManager)Component.getInstance(IndexManager.class);
        Progress progress = new Progress(selectedIndexedEntity.getClazz().getName());
        indexMgr.rebuildIndex(selectedIndexedEntity.getClazz(), progress);

        if (indexingProgressMonitors == null) indexingProgressMonitors = new HashMap<String, Progress>();
        indexingProgressMonitors.put(selectedIndexedEntity.getClazz().getName(), progress);
    }
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.