Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 138 for session1 (0.05 seconds)

  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
        @Test
        public void test_addFinishedSessionId_multiple() {
            indexUpdater.addFinishedSessionId("session1");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/entity/ChatSessionTest.java

            session.setSessionId("session-456");
            session.setUserId("user-789");
            session.setCreatedAt(createdAt);
            session.setLastAccessedAt(lastAccessedAt);
            session.setMessages(messages);
    
            assertEquals("session-456", session.getSessionId());
            assertEquals("user-789", session.getUserId());
            assertEquals(createdAt, session.getCreatedAt());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  3. 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"));
        }
    
        @Test
        public void test_deleteByConfigId() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 29.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

         * @return the session, or null if not found or expired
         */
        public ChatSession getSession(final String sessionId) {
            final ChatSession session = findSession(sessionId);
            if (session == null) {
                return null;
            }
            session.touch();
            if (logger.isDebugEnabled()) {
                logger.debug("Session retrieved. sessionId={}, messageCount={}", sessionId, session.getMessages().size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  5. 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)
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  6. 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);
        }
    
        @Test
        public void test_process_withPropertiesPath() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  7. 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
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

         * Removes URL filters, URL queues, and access result data for the session.
         *
         * @param sessionId the session ID whose data should be deleted
         */
        private void deleteBySessionId(final String sessionId) {
            try {
                urlFilterService.delete(sessionId);
            } catch (final Exception e) {
                logger.warn("Failed to delete UrlFilter: sessionId={}", sessionId, e);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/chat/ChatAction.java

        }
    
        /**
         * Clears the chat session.
         *
         * @param form the chat form containing the session ID to clear
         * @return the HTML response redirecting to the chat page
         */
        @Execute
        public HtmlResponse clear(final ChatForm form) {
            if (form.sessionId != null) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Clearing chat session. sessionId={}", form.sessionId);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Mar 10 14:54:51 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                assertNotNull(jobProcess2);
    
                // Wait for second process to be running
                Thread.sleep(100);
                assertTrue(processHelper.isProcessRunning(sessionId));
    
                // Verify we still have only one process for this session
                Set<String> sessionIds = processHelper.getRunningSessionIdSet();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
Back to Top