Searched defs:port (Results 1 - 13 of 13) sorted by relevance

/lucene-3.6.0/lucene/contrib/remote/src/test/org/apache/lucene/search/
H A DRemoteTestCase.java42 private static int port; field in class:RemoteTestCase
46 // use our own factories for testing, so we can bind to an ephemeral port.
48 public Socket createSocket(String host, int port) throws IOException {
49 return new Socket(host, port);
54 public ServerSocket createServerSocket(int port) throws IOException {
55 return (socket = new ServerSocket(port));
62 port = serverFactory.socket.getLocalPort();
63 Naming.rebind("//localhost:" + port + "/Searchable", impl);
69 Naming.unbind("//localhost:" + port + "/Searchable");
77 return (Searchable)Naming.lookup("//localhost:" + port
[all...]
/lucene-3.6.0/solr/core/src/test/org/apache/solr/schema/
H A DTestBinaryField.java44 int port = 0; field in class:TestBinaryField
84 port = jetty.getLocalPort();
/lucene-3.6.0/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/
H A DJettyWebappTest.java44 int port = 0; field in class:JettyWebappTest
65 server = new Server(port);
78 port = connector.getLocalPort();
96 String adminPath = "http://localhost:"+port+context+"/";
H A DMultiCoreExampleJettyTest.java36 int port = 0; field in class:MultiCoreExampleJettyTest
47 port = jetty.getLocalPort();
87 String url = "http://localhost:"+port+context+"/"+name;
/lucene-3.6.0/solr/test-framework/src/java/org/apache/solr/
H A DSolrJettyTestBase.java36 public static int port; field in class:SolrJettyTestBase
55 port = jetty.getLocalPort();
56 log.info("Jetty Assigned Port#" + port);
90 String url = "http://localhost:"+port+context;
H A DBaseDistributedSearchTestCase.java198 protected SolrServer createNewSolrServer(int port) { argument
201 String url = "http://localhost:" + port + context;
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/
H A DVerifyingLockFactory.java33 * host & port matching what you pass to the constructor.
44 int port; field in class:VerifyingLockFactory
55 Socket s = new Socket(host, port);
105 * @param port the port {@link LockVerifyServer} is
108 public VerifyingLockFactory(byte id, LockFactory lf, String host, int port) throws IOException { argument
112 this.port = port;
/lucene-3.6.0/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/
H A DTestContentStreamDataSource.java85 Integer port; field in class:TestContentStreamDataSource.SolrInstance
92 * on localhost at the specified port.
94 public SolrInstance(String name, Integer port) { argument
96 this.port = port;
H A DTestSolrEntityProcessorEndToEnd.java69 private static String getDihConfigTagsInnerEntity(int port) { argument
77 + " url='" + getSourceUrl(port) + "' fields='id,desc'>\r\n"
86 private static String generateDIHConfig(String options, int port) { argument
89 + getSourceUrl(port) + "' " + options + " />\r\n" + " </document>\r\n"
93 private static String getSourceUrl(int port) { argument
94 return "http://localhost:" + port + "/solr";
/lucene-3.6.0/solr/core/src/test/org/apache/solr/core/
H A DTestJmxMonitoredMap.java46 private int port = 0; field in class:TestJmxMonitoredMap
63 port = server.getLocalPort();
67 // System.out.println("Using port: " + port);
69 LocateRegistry.createRegistry(port);
73 String url = "service:jmx:rmi:///jndi/rmi://:" + port + "/solrjmx";
/lucene-3.6.0/solr/core/src/java/org/apache/solr/client/solrj/embedded/
H A DJettySolrRunner.java50 public JettySolrRunner( String context, int port )
52 this.init( context, port );
55 public JettySolrRunner( String context, int port, String solrConfigFilename ) argument
57 this.init( context, port );
62 // public JettySolrRunner( String context, String home, String dataDir, int port, boolean log )
74 // this.init( context, port );
77 private void init( String context, int port )
80 server = new Server( port );
85 connector.setPort(port);
130 int port
[all...]
/lucene-3.6.0/solr/solrj/src/test/org/apache/solr/client/solrj/
H A DTestLBHttpSolrServer.java210 int port; field in class:TestLBHttpSolrServer.SolrInstance
213 public SolrInstance(String name, int port) { argument
215 this.port = port;
223 return "http://localhost:" + port + "/solr";
271 jetty = new JettySolrRunner("/solr", port);
276 if (port != 0 && newPort != port) {
277 fail("TESTING FAILURE: could not grab requested port.");
279 this.port
[all...]
/lucene-3.6.0/solr/core/src/test/org/apache/solr/handler/
H A DTestReplicationHandler.java125 private static SolrServer createNewSolrServer(int port) { argument
128 String url = "http://localhost:" + port + context;
781 * character copy of file using UTF-8. If port is non-null, will be substituted any time "TEST_PORT" is found.
783 private static void copyFile(File src, File dst, Integer port) throws IOException { argument
789 if (null != port)
790 line = line.replace("TEST_PORT", port.toString());

Completed in 23 milliseconds