- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for session1 (0.04 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
// Execute without setting session ID String result = crawlJob.execute(); assertNotNull(crawlJob.sessionId); // Check format: yyyyMMddHHmmss assertEquals(14, crawlJob.sessionId.length()); assertTrue(crawlJob.sessionId.matches("\\d{14}")); assertTrue(result.contains("Session Id: " + crawlJob.sessionId)); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/SuggestJobTest.java
} // Test session ID generation public void test_sessionIdGeneration() { assertNull(suggestJob.sessionId); mockProcessHelper.setExitValue(0); suggestJob.execute(); assertNotNull(suggestJob.sessionId); assertEquals(15, suggestJob.sessionId.length()); // Check that session ID contains only alphabetic characters
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 31.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
} /** * Retrieves or creates the result document IDs cache from the session. * The cache is implemented as an LRU map to limit memory usage. * * @param session the HTTP session * @return the result document IDs cache map */ private Map<String, String[]> getResultDocIdsCache(final HttpSession session) { @SuppressWarnings("unchecked")
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K bytes - Viewed (0)