Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for session1 (0.33 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/IndexingHelperTest.java

            };
            ComponentUtil.register(client, "searchEngineClient");
    
            final String sessionId = "session1";
    
            assertEquals(1, indexingHelper.deleteBySessionId(sessionId));
            assertEquals("fess.update", resultMap.get("index"));
            assertEquals("segment", resultMap.get("field"));
            assertEquals(sessionId, resultMap.get("value"));
        }
    
        public void test_deleteByConfigId() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 29.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                JobProcess jobProcess1 = processHelper.startProcess(sessionId, cmdList1, pbCall);
                assertNotNull(jobProcess1);
                assertTrue(processHelper.isProcessRunning(sessionId));
    
                // Start second process with same session ID (should replace first)
                JobProcess jobProcess2 = processHelper.startProcess(sessionId, cmdList2, pbCall);
                assertNotNull(jobProcess2);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top