org.fao.geonet.kernel.search
Class LuceneSearcher
java.lang.Object
org.fao.geonet.kernel.search.MetaSearcher
org.fao.geonet.kernel.search.LuceneSearcher
public class LuceneSearcher
- extends MetaSearcher
Method Summary |
void |
close()
|
int |
getSize()
|
org.jdom.Element |
getSummary()
|
static org.apache.lucene.search.Query |
makeQuery(org.jdom.Element xmlQuery)
|
org.jdom.Element |
present(jeeves.server.context.ServiceContext srvContext,
org.jdom.Element request,
jeeves.server.ServiceConfig config)
|
void |
search(jeeves.server.context.ServiceContext srvContext,
org.jdom.Element request,
jeeves.server.ServiceConfig config)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneSearcher
public LuceneSearcher(SearchManager sm,
java.lang.String styleSheetName)
search
public void search(jeeves.server.context.ServiceContext srvContext,
org.jdom.Element request,
jeeves.server.ServiceConfig config)
throws java.lang.Exception
- Specified by:
search
in class MetaSearcher
- Throws:
java.lang.Exception
present
public org.jdom.Element present(jeeves.server.context.ServiceContext srvContext,
org.jdom.Element request,
jeeves.server.ServiceConfig config)
throws java.lang.Exception
- Specified by:
present
in class MetaSearcher
- Throws:
java.lang.Exception
getSize
public int getSize()
- Specified by:
getSize
in class MetaSearcher
getSummary
public org.jdom.Element getSummary()
throws java.lang.Exception
- Specified by:
getSummary
in class MetaSearcher
- Throws:
java.lang.Exception
close
public void close()
- Specified by:
close
in class MetaSearcher
makeQuery
public static org.apache.lucene.search.Query makeQuery(org.jdom.Element xmlQuery)
throws java.lang.Exception
- Throws:
java.lang.Exception