Example usage for Java org.apache.solr.client.solrj.embedded JettySolrRunner fields, constructors, methods, implement or subclass
The text is from its open source code.
JettySolrRunner(String solrHome, String context, int port) Create a new JettySolrRunner. | |
JettySolrRunner(String solrHome, Properties nodeProperties, JettyConfig config) Construct a JettySolrRunner After construction, you must start the jetty with #start() | |
JettySolrRunner(String solrHome, JettyConfig config) Construct a JettySolrRunner After construction, you must start the jetty with #start() |
URL | getBaseUrl() Returns a base URL consisting of the protocol, host, and port for a Connector in use by the Jetty Server contained in this runner. |
int | getLocalPort() Returns the Local Port of the jetty Server. |
SolrDispatchFilter | getSolrDispatchFilter() |
boolean | isRunning() |
void | start() Start the Jetty server If the server has been started before, it will restart using the same port |
void | start(boolean reusePort) Start the Jetty server |
void | stop() Stop the Jetty server |