- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getFavoriteCount (0.1 sec)
-
src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java
final SearchLogHelper searchLogHelper = ComponentUtil.getSearchLogHelper(); final long count = searchLogHelper.getFavoriteCount(url); doc.put(favoriteCountField, count); if (logger.isDebugEnabled()) { logger.debug("Favorite Count: {}, url: {}", count, url); } } @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.9K bytes - Viewed (0) -
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) -
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)