Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getFavoriteCount (0.07 sec)

  1. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            if (StringUtil.isNotBlank(url)) {
                final SearchLogHelper searchLogHelper = ComponentUtil.getSearchLogHelper();
                final long count = searchLogHelper.getFavoriteCount(url);
                map.put(fessConfig.getIndexFieldFavoriteCount(), count);
                if (logger.isDebugEnabled()) {
                    logger.debug("Favorite Count: {}, url: {}", count, url);
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            final ClickLogBhv clickLogBhv = ComponentUtil.getComponent(ClickLogBhv.class);
            return clickLogBhv.selectCount(cb -> {
                cb.query().setUrl_Equal(url);
            });
        }
    
        public long getFavoriteCount(final String url) {
            final FavoriteLogBhv favoriteLogBhv = ComponentUtil.getComponent(FavoriteLogBhv.class);
            return favoriteLogBhv.selectCount(cb -> {
                cb.query().setUrl_Equal(url);
            });
    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