Package org.fao.geonet.kernel.search

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

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.