public class XQueryComponent
extends org.apache.solr.handler.component.QueryComponent
implements org.apache.solr.util.plugin.SolrCoreAware
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
fields |
static String |
LUX_PATH_INFO |
static String |
LUX_XQUERY |
protected String |
queryPath |
protected SolrIndexConfig |
solrIndexConfig |
static String |
XQUERY_COMPONENT_NAME |
| Constructor and Description |
|---|
XQueryComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addResult(org.apache.solr.common.util.NamedList<Object> xpathResults,
net.sf.saxon.s9api.XdmItem item) |
protected void |
evaluateQuery(org.apache.solr.handler.component.ResponseBuilder rb,
int start,
int len) |
String |
getDescription() |
SolrIndexConfig |
getSolrIndexConfig() |
String |
getSource() |
String |
getVersion() |
void |
inform(org.apache.solr.core.SolrCore core) |
void |
prepare(org.apache.solr.handler.component.ResponseBuilder rb) |
void |
process(org.apache.solr.handler.component.ResponseBuilder rb) |
distributedProcess, doFieldSortValues, doPrefetch, finishStage, getDocs, handleResponsespublic static final String LUX_XQUERY
public static final String LUX_PATH_INFO
protected SolrIndexConfig solrIndexConfig
protected String queryPath
public static final String XQUERY_COMPONENT_NAME
public SolrIndexConfig getSolrIndexConfig()
public void inform(org.apache.solr.core.SolrCore core)
inform in interface org.apache.solr.util.plugin.SolrCoreAwarepublic void prepare(org.apache.solr.handler.component.ResponseBuilder rb)
throws IOException
prepare in class org.apache.solr.handler.component.QueryComponentIOExceptionpublic void process(org.apache.solr.handler.component.ResponseBuilder rb)
throws IOException
process in class org.apache.solr.handler.component.QueryComponentIOExceptionprotected void evaluateQuery(org.apache.solr.handler.component.ResponseBuilder rb,
int start,
int len)
protected void addResult(org.apache.solr.common.util.NamedList<Object> xpathResults, net.sf.saxon.s9api.XdmItem item) throws net.sf.saxon.s9api.SaxonApiException
net.sf.saxon.s9api.SaxonApiExceptionpublic String getDescription()
getDescription in interface org.apache.solr.core.SolrInfoMBeangetDescription in class org.apache.solr.handler.component.QueryComponentpublic String getSource()
getSource in interface org.apache.solr.core.SolrInfoMBeangetSource in class org.apache.solr.handler.component.QueryComponentpublic String getVersion()
getVersion in interface org.apache.solr.core.SolrInfoMBeangetVersion in class org.apache.solr.handler.component.SearchComponentCopyright © 2013. All Rights Reserved.