Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getSearchLogHelper (0.11 sec)

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

    public class AggregateLogJob {
    
        private static final Logger logger = LogManager.getLogger(AggregateLogJob.class);
    
        public String execute() {
            final SearchLogHelper searchLogHelper = ComponentUtil.getSearchLogHelper();
    
            final StringBuilder resultBuf = new StringBuilder();
    
            try {
                searchLogHelper.storeSearchLog();
            } catch (final Exception e) {
    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/app/web/go/GoAction.java

            if (fessConfig.isSearchLog()) {
                final String userSessionId = userInfoHelper.getUserCode();
                if (userSessionId != null) {
                    final SearchLogHelper searchLogHelper = ComponentUtil.getSearchLogHelper();
                    final ClickLog clickLog = new ClickLog();
                    clickLog.setUrlId((String) doc.get(fessConfig.getIndexFieldId()));
                    clickLog.setUrl(url);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                }
            }
        }
    
        protected void addClickCountField(final Map<String, Object> doc, final String url, final String clickCountField) {
            final SearchLogHelper searchLogHelper = ComponentUtil.getSearchLogHelper();
            final int count = searchLogHelper.getClickCount(url);
            doc.put(clickCountField, count);
            if (logger.isDebugEnabled()) {
                logger.debug("Click Count: {}, url: {}", count, url);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java

                favoriteLogLambda.accept(userInfo, favoriteLog);
                favoriteLogBhv.insert(favoriteLog);
                if (fessConfig.isLoggingSearchUseLogfile()) {
                    ComponentUtil.getSearchLogHelper().writeSearchLogEvent(favoriteLog);
                }
                return true;
            }).orElse(false);
        }
    
        public List<String> getUrlList(final String userCode, final List<String> urlList) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            final String url = (String) doc.get(fessConfig.getIndexFieldUrl());
            if (StringUtil.isNotBlank(url)) {
                final SearchLogHelper searchLogHelper = ComponentUtil.getSearchLogHelper();
                final int count = searchLogHelper.getClickCount(url);
                doc.put(fessConfig.getIndexFieldClickCount(), count);
                if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

        protected String getId() {
            return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY);
        }
    
        protected void updateUserSessionId(final String userCode) {
            ComponentUtil.getSearchLogHelper().getUserInfo(userCode);
    
            LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(Constants.USER_CODE, userCode));
    
            updateCookie(userCode, cookieMaxAge);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

            data.setQueryId(queryId);
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            // search log
            if (fessConfig.isSearchLog()) {
                ComponentUtil.getSearchLogHelper().addSearchLog(params, DfTypeUtil.toLocalDateTime(requestedTime), queryId, query,
                        params.getStartPosition(), params.getPageSize(), queryResponseList);
            }
    
            // favorite
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            return getComponent(QUERY_PROCESSOR);
        }
    
        public static LabelTypeHelper getLabelTypeHelper() {
            return getComponent(LABEL_TYPE_HELPER);
        }
    
        public static SearchLogHelper getSearchLogHelper() {
            return getComponent(SEARCH_LOG_HELPER);
        }
    
        public static CrawlingConfigHelper getCrawlingConfigHelper() {
            if (crawlingConfigHelper == null || HotdeployUtil.isHotdeploy()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:35:51 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top