Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for connected (0.03 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

        /**
         * Checks if the client is connected to OpenSearch.
         *
         * @return true if connected, false otherwise.
         */
        public boolean connected() {
            return connected;
        }
    
        /**
         * Connects to the OpenSearch cluster.
         * Creates a new client and waits for cluster health to be yellow or better.
         */
        public void connect() {
            destroy();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        /**
         * Returns the FesenClient instance, connecting if not already connected.
         * @return The FesenClient instance.
         */
        protected FesenClient getClient() {
            if (!fesenClient.connected()) {
                synchronized (fesenClient) {
                    if (!fesenClient.connected()) {
                        fesenClient.connect();
                    }
                }
            }
            return fesenClient;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

         *
         * @param info The FTP information containing host, port, and other connection details
         * @return A configured FTP client ready for use
         * @throws IOException If the FTP client cannot be created or connected
         */
        protected FTPClient getClient(final FtpInfo info) throws IOException {
            FTPClient ftpClient = ftpClientQueue.poll();
            if (ftpClient != null) {
                if (ftpClient.isAvailable()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

                FileUtil.deleteInBackground(inputFile);
                FileUtil.deleteInBackground(outputFile);
            }
        }
    
        /**
         * Gets the output content from the converted file.
         *
         * @param outputFile the converted output file
         * @param outExt the output file extension
         * @return the extracted text content
         * @throws ExtractException if an error occurs while reading the file
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

            /**
             * Constructs a new StorageURLConnection for the specified URL.
             * This constructor parses the URL to extract bucket and object names.
             *
             * @param url The storage URL to connect to
             */
            protected StorageURLConnection(final URL url) {
                super(url);
                final String[] values = url.toExternalForm().split("/", 2);
                if (values.length == 2) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

         *
         * @param <T> The target type.
         * @param field The field value from OpenSearch.
         * @param clazz The target class.
         * @return The converted field value.
         */
        @SuppressWarnings("unchecked")
        private <T> T getFieldValue(final Object field, final Class<T> clazz) {
            if (field == null) {
                return null;
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            assertArrayEquals(new String[] { "reading1" }, itemReadings[0]);
        }
    
        @Test
        public void testToSuggestItemWithNullTagsAndRoles() {
            // Test toSuggestItem when tags and roles are null (converted to empty lists)
            String word = "null tags and roles";
            float boost = 1.0f;
            List<String> readings = Arrays.asList("reading1");
            List<String> fields = Arrays.asList("field1");
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

                    return directive;
                }
            }
            return null;
        }
    
        /**
         * Adds a directive to the robots.txt rules.
         * The user-agent pattern in the directive is converted to a regular expression pattern,
         * where '*' is replaced with '.*' for pattern matching, and stored case-insensitively.
         *
         * @param directive The directive to add to the robots.txt rules
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         * If the object is a string, a list containing that string is returned.
         * If the object is a list, it is cast to a list of strings and returned.
         * </p>
         *
         * @param value the object to be converted to a list of strings
         * @return a list of strings representing the given object
         * @throws IllegalArgumentException if the object is not a string or a list
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (1)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

        }
    
        /**
         * Converts child URLs using the URL convert helper.
         *
         * @param requestDataList the list of request data to convert
         * @return the converted list of request data
         */
        protected List<RequestData> convertChildUrlList(final List<RequestData> requestDataList) {
            try {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
Back to top