Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 426 for sessionId (0.05 seconds)

  1. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            // Second poll should return null (queue is empty)
            final OpenSearchUrlQueue polled2 = urlQueueService.poll(sessionId);
            assertNull(polled2);
    
            urlQueueService.delete(sessionId);
        }
    
        @Test
        public void test_poll_multipleItemsTx() {
            final String sessionId = "poll_session3";
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Jan 14 23:48:16 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            assertNull(pathMappingHelper.getPathMappingList(sessionId + "1"));
            pathMappingHelper.removePathMappingList(sessionId);
            assertNull(pathMappingHelper.getPathMappingList(sessionId));
            assertNull(pathMappingHelper.getPathMappingList(sessionId + "1"));
    
        }
    
        @Test
        public void test_replaceUrl() {
            final String sessionId = "test";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsCrawlingInfo.java

            this.name = value;
        }
    
        public String getSessionId() {
            checkSpecifiedProperty("sessionId");
            return convertEmptyToNull(sessionId);
        }
    
        public void setSessionId(String value) {
            registerModifiedProperty("sessionId");
            this.sessionId = value;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  4. 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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

         *
         * @param sessionId the session ID to retrieve parameters for
         * @return a map containing all key-value parameter pairs for the session
         */
        public Map<String, String> getInfoMap(final String sessionId) {
            final List<CrawlingInfoParam> crawlingInfoParamList = getCrawlingInfoService().getLastCrawlingInfoParamList(sessionId);
    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)
  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);
        }
    
        @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)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                throw new OpenSearchAccessException("Failed to delete " + sessionId + ":" + url, e);
            }
        }
    
        /**
         * Deletes all documents with the specified session ID from the OpenSearch index.
         *
         * @param sessionId The session ID of the documents to delete.
         */
        protected void deleteBySessionId(final String sessionId) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 34.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/job/PythonJob.java

                }
    
                final JobProcess jobProcess = processHelper.startProcess(sessionId, cmdList, pb -> {
                    pb.directory(baseDir);
                    pb.redirectErrorStream(true);
                    final Map<String, String> environment = pb.environment();
                    environment.put("SESSION_ID", sessionId);
                    environment.put("OPENSEARCH_URL", SystemUtil.getSearchEngineHttpAddress());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            // Test with blank name
            crawlingInfoHelper.updateParams(sessionId, "", -1);
    
            // Test with null name
            crawlingInfoHelper.updateParams(sessionId, null, -1);
        }
    
        @Test
        public void test_updateParams_noSession() {
            final String sessionId = "non-existent-session";
    
            ComponentUtil.register(new CrawlingInfoService() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
Back to Top