public class GraphHandler extends RequestHandlerBase implements SolrCoreAware, PermissionNameProvider
Solr Request Handler for graph traversal with streaming functions that responds with GraphML markup.
It loads the default set of streaming expression functions via DefaultStreamFactory.
To add additional functions, just define them as plugins in solrconfig.xml via
<expressible name="count" class="org.apache.solr.client.solrj.io.stream.RecordCountStream" />
The @deprecated configuration method as of Solr 8.5 is
<lst name="streamFunctions">
<str name="group">org.apache.solr.client.solrj.io.stream.ReducerStream</str>
<str name="count">org.apache.solr.client.solrj.io.stream.RecordCountStream</str>
</lst>
| Modifier and Type | Class and Description |
|---|---|
static class |
GraphHandler.DummyErrorStream |
static class |
GraphHandler.TimerStream |
PermissionNameProvider.NameSolrInfoBean.Category, SolrInfoBean.Groupappends, defaults, httpCaching, initArgs, invariants, solrMetricsContextANY, NULL, valuesTYPE| Constructor and Description |
|---|
GraphHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Simple one or two line description
|
PermissionNameProvider.Name |
getPermissionName(AuthorizationContext request) |
String |
getSource() |
void |
handleRequestBody(SolrQueryRequest req,
SolrQueryResponse rsp) |
void |
inform(SolrCore core) |
getApis, getCategory, getInitArgs, getMetricNames, getName, getPluginInfo, getRequestHandler, getSolrMetricsContext, getSolrParamsFromNamedList, getSubHandler, handleRequest, init, initializeMetrics, setPluginInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetricRegistry, getMetricsSnapshot, registerMetricNameclose, getUniqueMetricTag, initializeMetricsregisterV1, registerV2public PermissionNameProvider.Name getPermissionName(AuthorizationContext request)
getPermissionName in interface PermissionNameProviderpublic void inform(SolrCore core)
inform in interface SolrCoreAwarepublic void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
handleRequestBody in class RequestHandlerBaseExceptionpublic String getDescription()
SolrInfoBeangetDescription in interface SolrInfoBeangetDescription in class RequestHandlerBasepublic String getSource()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.