Examples of optimizeIndex()


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

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

    SearchManager searchMan = gc.getBean(SearchManager.class);
   
    boolean info = searchMan.optimizeIndex();

    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.