Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for session3 (0.04 sec)

  1. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            final String sessionId = "session123";
            indexUpdater.addFinishedSessionId(sessionId);
            assertTrue(indexUpdater.finishedSessionIdList.contains(sessionId));
        }
    
        // Test addFinishedSessionId with multiple sessions
        public void test_addFinishedSessionId_multiple() {
            indexUpdater.addFinishedSessionId("session1");
            indexUpdater.addFinishedSessionId("session2");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                crawlingInfoHelper.store(sessionId, true);
                fail("Should throw FessSystemException");
            } catch (FessSystemException e) {
                assertEquals("No crawling session.", e.getMessage());
                assertTrue(e.getCause() instanceof RuntimeException);
            }
        }
    
        public void test_updateParams() {
            final String sessionId = "update-session";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

        }
    
        /**
         * Extracts the canonical session ID by removing any suffix after the first hyphen.
         * If the session ID contains a hyphen, returns the portion before the first hyphen.
         * Otherwise, returns the original session ID.
         *
         * @param sessionId the session ID to process
         * @return the canonical session ID (portion before first hyphen, or original if no hyphen)
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

        }
    
        /**
         * Retrieves the parameters from the most recent crawling session for a given session ID.
         * Returns an empty list if no crawling information is found for the session.
         *
         * @param sessionId the session identifier to find the latest crawling parameters for
         * @return a list of CrawlingInfoParam entities from the latest session, or empty list if none found
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            if (options.sessionId != null) {
                options.sessionId = options.sessionId.replaceAll("-", "_");
            }
    
            // Check that sessionId was sanitized (hyphens replaced with underscores)
            assertEquals("test_session_123", options.sessionId);
        }
    
        public void test_process_withPropertiesPath() throws Exception {
            // Test that properties path is properly handled
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

         * This method starts crawling only for the data configurations
         * specified in the configIdList parameter.
         *
         * @param sessionId unique identifier for this crawling session
         * @param configIdList list of data configuration IDs to crawl
         */
        public void crawl(final String sessionId, final List<String> configIdList) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/Crawler.java

         */
        public static class Options {
    
            /** Session ID for the crawling session. If not provided, a timestamp-based ID will be generated. */
            @Option(name = "-s", aliases = "--sessionId", metaVar = "sessionId", usage = "Session ID")
            public String sessionId;
    
            /** Name for the crawling session for identification purposes. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

        /**
         * Adds a finished session ID to the cleanup list.
         * This method is thread-safe and adds the session ID to be cleaned up later.
         *
         * @param sessionId the crawler session ID that has finished processing
         */
        public void addFinishedSessionId(final String sessionId) {
            synchronized (finishedSessionIdList) {
                finishedSessionIdList.add(sessionId);
            }
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

                }
            }
        }
    
        /**
         * Removes the path mapping list for a session.
         *
         * @param sessionId the session ID
         */
        public void removePathMappingList(final String sessionId) {
            pathMappingMap.remove(sessionId);
        }
    
        /**
         * Gets the path mapping list for a session.
         *
         * @param sessionId the session ID
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/PythonJobTest.java

        public void test_execute_withCustomSessionId() {
            pythonJob.filename("test.py");
            pythonJob.sessionId = "custom-session-123";
    
            testProcessHelper.exitValue = 0;
    
            String result = pythonJob.execute();
    
            assertTrue(result.contains("Session Id: custom-session-123"));
            assertEquals("custom-session-123", pythonJob.sessionId);
        }
    
        // Test execute with process failure
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top