org.fao.geonet.services.main
Class XmlSearch
java.lang.Object
org.fao.geonet.services.main.XmlSearch
- All Implemented Interfaces:
- Service
public class XmlSearch
- extends Object
- implements Service
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlSearch
public XmlSearch()
init
public void init(String appPath,
ServiceConfig config)
throws Exception
- Specified by:
init in interface Service
- Throws:
Exception
exec
public org.jdom.Element exec(org.jdom.Element params,
ServiceContext context)
throws Exception
- Run a search and return results as XML.
- Specified by:
exec in interface Service
- Parameters:
params - All search parameters defined in LuceneIndexField.
To return only results summary, set summaryOnly parameter to 1.
Default is 0 (ie.results and summary).
- Throws:
Exception
Copyright © 2003-2013. All Rights Reserved.