Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for storeSearchLog (0.08 sec)

  1. src/main/java/org/codelibs/fess/job/AggregateLogJob.java

        public String execute() {
            final SearchLogHelper searchLogHelper = ComponentUtil.getSearchLogHelper();
    
            final StringBuilder resultBuf = new StringBuilder();
    
            try {
                searchLogHelper.storeSearchLog();
            } catch (final Exception e) {
                logger.error("Failed to store a search log.", e);
                resultBuf.append(e.getMessage()).append("\n");
            }
    
            return resultBuf.toString();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                logger.warn("Failed to initialize Suggester.", e);
            }
        }
    
        public Suggester suggester() {
            return suggester;
        }
    
        public void storeSearchLog() {
            final SearchLogBhv searchLogBhv = ComponentUtil.getComponent(SearchLogBhv.class);
    
            searchLogBhv.selectBulk(cb -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                }
            }
    
            if (ComponentUtil.getFessConfig().isSuggestSearchLog()) {
                logger.info("Parsing words from search logs.");
                try {
                    suggestHelper.storeSearchLog();
                } catch (final Exception e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to update suggest index.", e);
                    }
                    exitCode.set(1);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                    searchLog.addDocument(map);
                });
            }
        }
    
        public void addClickLog(final ClickLog clickLog) {
            clickLogQueue.add(clickLog);
        }
    
        public void storeSearchLog() {
            if (!searchLogQueue.isEmpty()) {
                final Queue<SearchLog> queue = searchLogQueue;
                searchLogQueue = new ConcurrentLinkedQueue<>();
                processSearchLogQueue(queue);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top