Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 141 for SessionId (0.15 sec)

  1. 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)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/UrlFilter.java

    /**
     * UrlFilter checks if a given url is a target one.
     *
     * @author shinsuke
     *
     */
    public interface UrlFilter {
    
        /**
         * Initialize a url filter by sessionId.
         *
         * @param sessionId Session ID
         */
        void init(String sessionId);
    
        /**
         * Check if a given url is a target.
         *
         * @param url URL
         * @return true if url is matched
         */
        boolean match(String url);
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java

         */
        @Override
        public String getSessionId() {
            return sessionId;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.UrlQueue#setSessionId(java.lang.String)
         */
        @Override
        public void setSessionId(final String sessionId) {
            this.sessionId = sessionId;
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

         *
         * @param parentUrl the parent URL to get encoding for
         * @param sessionId the session ID for the crawling session
         * @return the character encoding, or null if not found
         */
        default String getParentEncoding(final String parentUrl, final String sessionId) {
            final String key = sessionId + ":" + parentUrl;
            String enc = parentEncodingMap.get(key);
            if (enc != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/audit/SecurityAuditLogger.java

            context.put("thread", Thread.currentThread().getName());
            context.put("threadId", Thread.currentThread().getId());
    
            String sessionId = MDC.get("sessionId");
            if (sessionId != null) {
                context.put("sessionId", sessionId);
            }
            String userId = MDC.get("userId");
            if (userId != null) {
                context.put("userId", userId);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. 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
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java

         * @param sessionId the session ID
         * @return the URL queue for the session
         */
        public synchronized Queue<UrlQueueImpl<Long>> getUrlQueueList(final String sessionId) {
            Queue<UrlQueueImpl<Long>> urlQueueList = urlQueueMap.get(sessionId);
            if (urlQueueList == null) {
                urlQueueList = new LinkedList<>();
                urlQueueMap.put(sessionId, urlQueueList);
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/SecureKeyManagerTest.java

            assertArrayEquals(testKey, rawKey2, "Should still match original");
        }
    
        @Test
        public void testRemoveSessionKey() {
            String sessionId = "test-session-3";
            keyManager.storeSessionKey(sessionId, testKey, "AES");
    
            assertTrue(keyManager.hasSessionKey(sessionId), "Key should exist");
    
            keyManager.removeSessionKey(sessionId);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            String result = crawlJob.execute();
    
            assertNotNull(crawlJob.sessionId);
            // Check format: yyyyMMddHHmmss
            assertEquals(14, crawlJob.sessionId.length());
            assertTrue(crawlJob.sessionId.matches("\\d{14}"));
            assertTrue(result.contains("Session Id: " + crawlJob.sessionId));
        }
    
        // Test with negative max crawler processes
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
Back to top