Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 168 for session2 (0.04 sec)

  1. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

         *
         * @param parentUrl the parent URL to get encoding for
         * @param sessionId the session ID for the crawling session
         * @return the character encoding, or null if not found
         */
        default String getParentEncoding(final String parentUrl, final String sessionId) {
            final String key = sessionId + ":" + parentUrl;
            String enc = parentEncodingMap.get(key);
            if (enc != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/ExecJob.java

            return this;
        }
    
        /**
         * Sets the session ID for this job execution.
         *
         * @param sessionId the unique session identifier
         * @return this ExecJob instance for method chaining
         */
        public ExecJob sessionId(final String sessionId) {
            this.sessionId = sessionId;
            return this;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            // The result should contain Session Id with the generated session ID
            assertNotNull(thumbnailJob.sessionId);
            assertTrue(result.contains("Session Id:"));
    
            // The test cannot actually start the process since it requires many dependencies
            // The execute method catches the exception and returns the session ID
        }
    
        // Test execute with custom session ID
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

            if (sessionId == null) { // create session id
                sessionId = RandomStringUtils.randomAlphabetic(15);
            }
            resultBuf.append("Session Id: ").append(sessionId).append("\n");
            if (jobExecutor != null) {
                jobExecutor.addShutdownListener(() -> ComponentUtil.getProcessHelper().destroyProcess(sessionId));
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

        }
    
        /**
         * Stores a crawling configuration in the session-based storage with a unique identifier.
         * The generated session count ID combines the session ID with an incrementing counter.
         *
         * @param sessionId the session identifier
         * @param crawlingConfig the crawling configuration to store
         * @return the unique session count ID that can be used to retrieve the stored configuration
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/PythonJob.java

            }
            resultBuf.append("Session Id: ").append(sessionId).append("\n");
            if (jobExecutor != null) {
                jobExecutor.addShutdownListener(() -> ComponentUtil.getProcessHelper().destroyProcess(sessionId));
            }
    
            final TimeoutTask timeoutTask = createTimeoutTask();
            try {
                executePython();
            } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

         * Command-line options for the thumbnail generator.
         */
        protected static class Options {
            /**
             * Session ID for filtering thumbnail generation.
             */
            @Option(name = "-s", aliases = "--sessionId", metaVar = "sessionId", usage = "Session ID")
            protected String sessionId;
    
            /**
             * Name identifier for the thumbnail generation task.
             */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

                    return new ArrayList<>(); // Always return empty for fast tests
                }
    
                public String store(String sessionId, DataConfig dataConfig) {
                    return sessionId + "-" + dataConfig.getId();
                }
    
                public void remove(String sessionCountId) {
                    // No-op
                }
            }, "crawlingConfigHelper");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

         * Initiates crawling for specified web and file configurations.
         *
         * @param sessionId The session ID for this crawling operation
         * @param webConfigIdList List of web configuration IDs to crawl, null for all
         * @param fileConfigIdList List of file configuration IDs to crawl, null for all
         */
        public void crawl(final String sessionId, final List<String> webConfigIdList, final List<String> fileConfigIdList) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

        /**
         * A nested class for parsing command-line options.
         */
        protected static class Options {
            /** The session ID for the suggest creation process. */
            @Option(name = "-s", aliases = "--sessionId", metaVar = "sessionId", usage = "Session ID")
            protected String sessionId;
    
            /** The name of the suggest creator instance. */
            @Option(name = "-n", aliases = "--name", metaVar = "name", usage = "Name")
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top