Java org.apache.solr.client.solrj.embedded JettySolrRunner fields, constructors, methods, implement or subclass

Example usage for Java org.apache.solr.client.solrj.embedded JettySolrRunner fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.solr.client.solrj.embedded JettySolrRunner.

The text is from its open source code.

Constructor

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()

Method

URLgetBaseUrl()
Returns a base URL consisting of the protocol, host, and port for a Connector in use by the Jetty Server contained in this runner.
intgetLocalPort()
Returns the Local Port of the jetty Server.
SolrDispatchFiltergetSolrDispatchFilter()
booleanisRunning()
voidstart()
Start the Jetty server If the server has been started before, it will restart using the same port
voidstart(boolean reusePort)
Start the Jetty server
voidstop()
Stop the Jetty server