org.ow2.weblab.services.searcher.impl
Class FastSolrSearcher
java.lang.Object
org.ow2.weblab.services.searcher.impl.FastSolrSearcher
- All Implemented Interfaces:
- org.weblab_project.services.searcher.Searcher
public class FastSolrSearcher
- extends java.lang.Object
- implements org.weblab_project.services.searcher.Searcher
FastSolrSearcher is a searcher with no Jena helper. RDF is generated manually. Meta enrichment is not possible with
this version of search
|
Field Summary |
protected javax.xml.ws.WebServiceContext |
wsContext
|
|
Method Summary |
org.weblab_project.core.model.query.ResultSet |
search(org.weblab_project.core.model.query.Query q,
int offset,
int limit)
Use SolrComponent for Solr index querying and format response in RDF manually. |
org.weblab_project.services.searcher.types.SearchReturn |
search(org.weblab_project.services.searcher.types.SearchArgs arg0)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wsContext
protected javax.xml.ws.WebServiceContext wsContext
FastSolrSearcher
public FastSolrSearcher()
search
public org.weblab_project.services.searcher.types.SearchReturn search(org.weblab_project.services.searcher.types.SearchArgs arg0)
throws org.weblab_project.services.searcher.SearchException
- Specified by:
search in interface org.weblab_project.services.searcher.Searcher
- Throws:
org.weblab_project.services.searcher.SearchException
search
public org.weblab_project.core.model.query.ResultSet search(org.weblab_project.core.model.query.Query q,
int offset,
int limit)
throws org.weblab_project.services.searcher.SearchException
- Use
SolrComponent for Solr index querying and format response in RDF manually.
The ResultSet contains a Pok which himself contains Hits.
- Parameters:
q - the Weblab StringQueryoffset - results start indexlimit - results end index
- Returns:
- the
ResultSet containing hits
- Throws:
org.weblab_project.services.searcher.SearchException
Copyright © 2004-2010. All Rights Reserved.