Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for setPort (0.03 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationTest.java

            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
            smbAuthentication.setPort(1000);
            assertEquals("smb1://hoge:1000/", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setPort(1000);
            assertEquals("smb1://", smbAuthentication.getPathPrefix());
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationHolderTest.java

            fugaAuth.setServer("fuga");
            smbAuthenticationHolder.add(fugaAuth);
            final SmbAuthentication fooAuth = new SmbAuthentication();
            fooAuth.setServer("foo");
            fooAuth.setPort(1000);
            smbAuthenticationHolder.add(fooAuth);
    
            assertEquals(hogeAuth, smbAuthenticationHolder.get("smb://hoge/"));
            assertEquals(fugaAuth, smbAuthenticationHolder.get("smb://fuga/"));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java

            assertFalse(auth.matches(null));
    
            // Test with different ports
            auth.setPort(8080);
            assertTrue(auth.matches("ftp://hostname:8080/test/aaa.html"));
            assertFalse(auth.matches("ftp://hostname:21/test/aaa.html"));
    
            // Test with no port specified in FtpAuthentication
            auth.setPort(0);
            assertTrue(auth.matches("ftp://hostname:21/test/aaa.html"));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationTest.java

            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
            smbAuthentication.setPort(1000);
            assertEquals("smb://hoge:1000/", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setPort(1000);
            assertEquals("smb://", smbAuthentication.getPathPrefix());
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolderTest.java

            fugaAuth.setServer("fuga");
            smbAuthenticationHolder.add(fugaAuth);
            final SmbAuthentication fooAuth = new SmbAuthentication();
            fooAuth.setServer("foo");
            fooAuth.setPort(1000);
            smbAuthenticationHolder.add(fooAuth);
    
            assertEquals(hogeAuth, smbAuthenticationHolder.get("smb1://hoge/"));
            assertEquals(fugaAuth, smbAuthenticationHolder.get("smb1://fuga/"));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthentication.java

        }
    
        /**
         * Returns the SMB server port.
         * @return the server port
         */
        public int getPort() {
            return port;
        }
    
        /**
         * Sets the SMB server port.
         * @param port the server port to set
         */
        public void setPort(final int port) {
            this.port = port;
        }
    
        /**
         * Returns the username for SMB authentication.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

            this.server = server;
        }
    
        /**
         * Returns the port number.
         * @return The port number.
         */
        public int getPort() {
            return port;
        }
    
        /**
         * Sets the port number.
         * @param port The port number.
         */
        public void setPort(final int port) {
            this.port = port;
        }
    
        /**
         * Returns the username.
         * @return The username.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

        }
    
        /**
         * Returns the port number.
         * @return The port number.
         */
        public int getPort() {
            return port;
        }
    
        /**
         * Sets the port number.
         * @param port The port number.
         */
        public void setPort(final int port) {
            this.port = port;
        }
    
        /**
         * Returns the username.
         * @return The username.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. README.md

    // Add OpenSearch dependency and configure
    container.singleton("opensearchDataService", OpenSearchDataService.class, service -> {
        service.setIndexName("crawler-data");
        service.setHostname("localhost");
        service.setPort(9200);
    });
    ```
    
    ## Performance Tuning
    
    ### Thread Configuration
    
    ```java
    // Optimize thread pool settings
    crawler.crawlerContext.setNumOfThread(20);           // Number of crawler threads
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            FtpServerFactory factory = new FtpServerFactory();
            ListenerFactory lisnerFactory = new ListenerFactory();
            lisnerFactory.setPort(port);
            factory.addListener("default", lisnerFactory.createListener());
    
            if (username != null) {
                UserManager userManager = factory.getUserManager();
                BaseUser ftpUser = new BaseUser();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
Back to top