public abstract class SimpleUpdateProcessorFactory extends UpdateRequestProcessorFactory
UpdateRequestProcessorFactory.RunAlways
Modifier and Type | Field and Description |
---|---|
protected NamedList |
initArgs |
protected String |
myName |
Modifier | Constructor and Description |
---|---|
protected |
SimpleUpdateProcessorFactory() |
Modifier and Type | Method and Description |
---|---|
UpdateRequestProcessor |
getInstance(SolrQueryRequest req,
SolrQueryResponse rsp,
UpdateRequestProcessor next) |
protected String |
getParam(String name) |
protected String[] |
getParams(String name)
returns value from init args or request parameter.
|
void |
init(NamedList args) |
protected abstract void |
process(AddUpdateCommand cmd,
SolrQueryRequest req,
SolrQueryResponse rsp)
This object is reused across requests.
|
public void init(NamedList args)
init
in interface NamedListInitializedPlugin
init
in class UpdateRequestProcessorFactory
public UpdateRequestProcessor getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next)
getInstance
in class UpdateRequestProcessorFactory
protected String[] getParams(String name)
protected abstract void process(AddUpdateCommand cmd, SolrQueryRequest req, SolrQueryResponse rsp)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.