/lucene-3.6.0/lucene/contrib/remote/src/test/org/apache/lucene/search/ |
H A D | RemoteTestCase.java | 42 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/lucene/core/src/java/org/apache/lucene/store/ |
H A D | VerifyingLockFactory.java | 33 * 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;
|
H A D | LockVerifyServer.java | 45 System.out.println("\nUsage: java org.apache.lucene.store.LockVerifyServer port\n"); 49 final int port = Integer.parseInt(args[0]); 51 ServerSocket s = new ServerSocket(port); 53 System.out.println("\nReady on port " + port + "...");
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/client/solrj/embedded/ |
H A D | JettySolrRunner.java | 50 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/test-framework/src/java/org/apache/solr/ |
H A D | SolrJettyTestBase.java | 36 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 D | BaseDistributedSearchTestCase.java | 198 protected SolrServer createNewSolrServer(int port) { argument 201 String url = "http://localhost:" + port + context;
|
/lucene-3.6.0/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/ |
H A D | MultiCoreExampleJettyTest.java | 36 int port = 0; field in class:MultiCoreExampleJettyTest 47 port = jetty.getLocalPort(); 87 String url = "http://localhost:"+port+context+"/"+name;
|
H A D | JettyWebappTest.java | 44 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 D | SolrExampleStreamingTest.java | 44 String url = "http://localhost:"+port+context; // smaller queue size hits locks more often
|
H A D | SolrExampleConcurrentUpdateSolrServerTest.java | 39 String url = "http://localhost:"+port+context; // smaller queue size hits locks more often
|
H A D | SolrExampleStreamingBinaryTest.java | 40 String url = "http://localhost:"+port+context;
|
/lucene-3.6.0/solr/client/ruby/solr-ruby/test/functional/ |
H A D | test_solr_server.rb | 15 # port, solr_home, and quiet properties. 20 attr_accessor :port, :jetty_home, :solr_home, :quiet 33 solr_server.port = params[:jetty_port] || 8888 50 "java -Djetty.port=#{@port} -Dsolr.solr.home=#{@solr_home} -jar start.jar"
|
/lucene-3.6.0/solr/solrj/src/test/org/apache/solr/client/solrj/ |
H A D | TestLBHttpSolrServer.java | 210 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...] |
H A D | SolrExampleTestHttpSolrServer.java | 40 String url = "http://localhost:" + port + context;
|
H A D | SolrExampleBinaryTest.java | 44 String url = "http://localhost:"+port+context;
|
H A D | TestBatchUpdateHttpSolrServer.java | 50 String url = "http://localhost:"+port+context;
|
/lucene-3.6.0/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/ |
H A D | TestContentStreamDataSource.java | 85 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 D | TestSolrEntityProcessorEndToEnd.java | 69 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 D | TestJmxMonitoredMap.java | 46 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/client/ruby/solr-ruby/test/unit/ |
H A D | connection_test.rb | 33 assert_equal 8983, connection.url.port
|
/lucene-3.6.0/solr/scripts/ |
H A D | rsyncd-start | 36 -p specify rsyncd port number 75 # try to determine rsyncd port number from $confFile if not specified on 83 echo "rsyncd port number missing in $confFile or command line." 109 logMessage "rsyncd already running at port ${rsyncd_port}" 132 rsync --daemon --port=${rsyncd_port} --bwlimit=${rsyncd_bwlimit} --config=${solr_root}/conf/rsyncd.conf
|
/lucene-3.6.0/solr/client/ruby/solr-ruby/lib/solr/ |
H A D | connection.rb | 44 @connection = Net::HTTP.new(@url.host, @url.port)
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/schema/ |
H A D | TestBinaryField.java | 44 int port = 0; field in class:TestBinaryField 84 port = jetty.getLocalPort();
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/handler/ |
H A D | TestReplicationHandler.java | 125 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());
|
/lucene-3.6.0/solr/example/solr/conf/velocity/ |
H A D | jquery.autocomplete.js | 345 port: "autocomplete" + input.name,
|