Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 120 for session1 (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            assertEquals(0, JsonPath.from(response).getInt("response.status"));
    
            // Test with session ID filter
            if (!logList.isEmpty()) {
                final String sessionId = (String) logList.get(0).get("session_id");
                final Map<String, Object> filterBody = new HashMap<>();
                filterBody.put("session_id", sessionId);
                response = checkMethodBase(filterBody).get("/api/admin/crawlinginfo/logs").asString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:01:34 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  3. 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. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/EditForm.java

        @Size(max = 1000)
        public String id;
    
        /**
         * The session identifier of the crawling session.
         * This is a required field that identifies the specific crawling session.
         * Maximum length is 20 characters.
         */
        @Required
        @Size(max = 20)
        public String sessionId;
    
        /**
         * The name or description of the crawling session.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

         *
         * @param sessionId unique identifier for the process session
         * @return exit code of the destroyed process, or -1 if the process was not found
         */
        public synchronized int destroyProcess(final String sessionId) {
            final JobProcess jobProcess = runningProcessMap.remove(sessionId);
            return destroyProcess(sessionId, jobProcess);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 06:54:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/job/PythonJob.java

            }
            resultBuf.append("Session Id: ").append(sessionId).append("\n");
            if (jobExecutor != null) {
                jobExecutor.addShutdownListener(() -> ComponentUtil.getProcessHelper().destroyProcess(sessionId));
            }
    
            final TimeoutTask timeoutTask = createTimeoutTask();
            try {
                executePython();
            } catch (final Exception e) {
    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)
  7. src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java

            final PrintWriter writer = new PrintWriter(stringWriter);
    
            chatApiManager.sendSseEvent(writer, "session", Map.of("sessionId", "abc-123"));
    
            final String output = stringWriter.toString();
            assertTrue(output.contains("event: session"));
            assertTrue(output.contains("\"sessionId\":\"abc-123\""));
        }
    
        @Test
        public void test_sendSseEvent_phase() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 14 01:39:16 GMT 2026
    - 35K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/app/service/CrawlingInfoServiceTest.java

            final CrawlingInfoPager pager = new CrawlingInfoPager();
            pager.sessionId = "test-session-123";
            assertEquals("test-session-123", pager.sessionId);
        }
    
        @Test
        public void test_crawlingInfoPager_setId() {
            final CrawlingInfoPager pager = new CrawlingInfoPager();
            pager.id = "crawling-id-456";
            assertEquals("crawling-id-456", pager.id);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            // The result should contain Session Id with the generated session ID
            assertNotNull(thumbnailJob.sessionId);
            assertTrue(result.contains("Session Id:"));
    
            // The test cannot actually start the process since it requires many dependencies
            // The execute method catches the exception and returns the session ID
        }
    
        // Test execute with custom session ID
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/PythonJobTest.java

        @Test
        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);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
Back to Top