Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 264 for session5 (0.08 seconds)

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

            final String sessionId = "session1";
            final String urlPattern = "http://example.com/.*";
    
            urlFilterService.addIncludeUrlFilter(sessionId, urlPattern);
    
            // Verify the filter is stored
            assertTrue(fesenClient.prepareSearch("fess_crawler.filter")
                    .setQuery(QueryBuilders.termQuery("sessionId", sessionId))
                    .setSize(0)
                    .execute()
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Jan 14 23:48:16 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Creates a derived session using the given local repository.
         *
         * @param localRepository the new local repository
         * @return the derived session
         * @throws NullPointerException if {@code localRepository} is null
         */
        @Nonnull
        Session withLocalRepository(@Nonnull LocalRepository localRepository);
    
        /**
         * Creates a derived session using the given remote repositories.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  3. 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)
  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. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            }
    
            InternalSession iSession = InternalSession.from(configuration.getRepositorySession());
            InternalMavenSession mSession = InternalMavenSession.from(iSession);
            MavenSession session = mSession.getMavenSession();
    
            session.setProjects(projects);
            session.setAllProjects(session.getProjects());
    
            return session;
        }
    
        protected void initRepoSession(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. README.md

            crawler.crawlerContext.setNumOfThread(5);
            crawler.urlFilter.addInclude("https://example.com/.*");
            
            // Execute crawling
            String sessionId = crawler.execute();
            System.out.println("Crawling completed. Session ID: " + sessionId);
        }
    }
    ```
    
    ### File System Crawling
    
    ```java
    import org.codelibs.fess.crawler.client.fs.FileSystemClient;
    
    // Configure for file system crawling
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Aug 31 05:32:52 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/MultiChannelManager.java

                }
    
                log.info("Created {} channels for session {}", channelGroup.getChannelCount(), sessionId);
                return channelGroup;
    
            } catch (Exception e) {
                sessionChannels.remove(sessionId);
                throw new CIFSException("Failed to create channels for session " + sessionId, e);
            }
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  10. 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)
Back to Top