Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for sessionIds (0.05 sec)

  1. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

         *
         * @param sessionId the session ID to process
         * @return the canonical session ID (portion before first hyphen, or original if no hyphen)
         */
        public String getCanonicalSessionId(final String sessionId) {
            final int idx = sessionId.indexOf('-');
            if (idx >= 0) {
                return sessionId.substring(0, idx);
            }
            return sessionId;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exec/Crawler.java

            if (StringUtil.isBlank(options.sessionId)) {
                // use a default session id
                final SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
                options.sessionId = sdf.format(new Date());
            } else {
                options.sessionId = options.sessionId.replace('-', '_');
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

         *
         * @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 url filters: {}", sessionId, e);
            }
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                if (Constants.FALSE.equals(initParamMap.getAsString(DELETE_OLD_DOCS))) {
                    return;
                }
                final String sessionId = initParamMap.getAsString(Constants.SESSION_ID);
                if (StringUtil.isBlank(sessionId)) {
                    logger.warn("Invalid sessionId at {}", dataConfig);
                    return;
                }
                final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

        }
    
        // Test addFinishedSessionId
        public void test_addFinishedSessionId() {
            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");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (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);
        }
    
        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)
  7. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

        public void test_execute_withCustomSessionId() {
            thumbnailJob.sessionId = "custom-session-456";
            thumbnailJob.cleanup();
    
            testProcessHelper.exitValue = 0;
    
            String result = thumbnailJob.execute();
    
            assertTrue(result.contains("Session Id: custom-session-456"));
            assertEquals("custom-session-456", thumbnailJob.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
    - 18.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

            assertNull(options.sessionId);
            assertNull(options.name);
            assertNull(options.propertiesPath);
        }
    
        // Test Options class with null values
        public void test_Options_nullValues() {
            SuggestCreator.Options options = new SuggestCreator.Options();
            options.sessionId = null;
            options.propertiesPath = null;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. 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;
        }
    
        /**
         * Sets the log file path for this job execution.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                }
    
                final String sessionId;
                if (searchLog.getUserSessionId() != null) {
                    sessionId = searchLog.getUserSessionId();
                } else if (Constants.SEARCH_LOG_ACCESS_TYPE_WEB.equals(searchLog.getAccessType())) {
                    sessionId = searchLog.getClientIp();
                } else {
                    sessionId = searchLog.getClientIp() + '_' + searchLog.getSearchWord();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
Back to top