/lucene-3.6.0/solr/test-framework/src/java/org/apache/solr/ |
H A D | SolrJettyTestBase.java | 35 public static JettySolrRunner jetty; field in class:SolrJettyTestBase 46 // this sets the property for jetty starting SolrDispatchFilter 52 jetty = new JettySolrRunner( context, 0, configFile ); 54 jetty.start(); 55 port = jetty.getLocalPort(); 57 return jetty; 63 if (jetty != null) { 64 jetty.stop(); 65 jetty = null; 87 if (jetty ! [all...] |
H A D | BaseDistributedSearchTestCase.java | 182 for (JettySolrRunner jetty : jettys) jetty.stop(); 192 JettySolrRunner jetty = new JettySolrRunner("/solr", 0); 194 jetty.start(); 195 return jetty;
|
/lucene-3.6.0/solr/solrj/src/test/org/apache/solr/client/solrj/ |
H A D | StartSolrJetty.java | 20 import org.mortbay.jetty.Connector; 21 import org.mortbay.jetty.Server; 22 import org.mortbay.jetty.bio.SocketConnector; 23 import org.mortbay.jetty.webapp.WebAppContext;
|
H A D | TestLBHttpSolrServer.java | 115 solr[1].jetty.stop(); 116 solr[1].jetty = null; 145 solr[0].jetty.stop(); 146 solr[0].jetty = null; 153 solr[1].jetty.stop(); 154 solr[1].jetty = null; 181 solr[1].jetty.stop(); 182 solr[1].jetty = null; 211 JettySolrRunner jetty; field in class:TestLBHttpSolrServer.SolrInstance 264 jetty [all...] |
/lucene-3.6.0/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/ |
H A D | MultiCoreExampleJettyTest.java | 34 JettySolrRunner jetty; field in class:MultiCoreExampleJettyTest 45 jetty = new JettySolrRunner( context, 0 ); 46 jetty.start(false); 47 port = jetty.getLocalPort(); 55 jetty.stop(); // stop the server
|
H A D | JettyWebappTest.java | 32 import org.mortbay.jetty.Connector; 33 import org.mortbay.jetty.Server; 34 import org.mortbay.jetty.bio.SocketConnector; 35 import org.mortbay.jetty.servlet.HashSessionIdManager; 36 import org.mortbay.jetty.webapp.WebAppContext;
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/client/solrj/embedded/ |
H A D | JettySolrRunner.java | 30 import org.mortbay.jetty.Handler; 31 import org.mortbay.jetty.Server; 32 import org.mortbay.jetty.Connector; 33 import org.mortbay.jetty.bio.SocketConnector; 34 import org.mortbay.jetty.servlet.Context; 35 import org.mortbay.jetty.servlet.FilterHolder; 36 import org.mortbay.jetty.servlet.HashSessionIdManager; 40 * Run solr using jetty 81 if (System.getProperty("jetty.testMode") != null) { 155 * Returns the Local Port of the first Connector found for the jetty Serve [all...] |
/lucene-3.6.0/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/ |
H A D | TestSolrEntityProcessorEndToEnd.java | 84 private JettySolrRunner jetty; field in class:TestSolrEntityProcessorEndToEnd 106 jetty = createJetty(instance); 117 jetty.stop(); 127 runFullImport(generateDIHConfig("query='*:*' rows='2' fields='id,desc' onError='skip'", jetty.getLocalPort())); 145 runFullImport(generateDIHConfig("query='*:*' fq='desc:Description1*,desc:Description*2' rows='2'", jetty.getLocalPort()), map); 160 runFullImport(generateDIHConfig("query='*:*' fl='id' rows='2'", jetty.getLocalPort())); 186 runFullImport(generateDIHConfig("query='*:*' rows='2' fl='id,desc' onError='skip'", jetty.getLocalPort())); 187 runFullImport(getDihConfigTagsInnerEntity(jetty.getLocalPort())); 205 jetty.stop(); 207 LOG.error("Error stopping jetty", [all...] |
H A D | TestContentStreamDataSource.java | 44 JettySolrRunner jetty; field in class:TestContentStreamDataSource 52 jetty = createJetty(instance); 58 jetty.stop(); 70 String url = "http://localhost:" + jetty.getLocalPort() + "/solr"; 150 JettySolrRunner jetty = new JettySolrRunner("/solr", 0); 151 jetty.start(); 152 return jetty;
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/schema/ |
H A D | TestBinaryField.java | 42 JettySolrRunner jetty; field in class:TestBinaryField 82 jetty = new JettySolrRunner(context, 0); 83 jetty.start(); 84 port = jetty.getLocalPort(); 86 String url = "http://localhost:" + jetty.getLocalPort() + context; 186 jetty.stop();
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/handler/ |
H A D | TestReplicationHandler.java | 119 JettySolrRunner jetty = new JettySolrRunner("/solr", 0); 121 jetty.start(); 122 return jetty;
|