Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for favorites (0.39 sec)

  1. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                return FormatType.LABEL;
            }
            if ("popular-words".equals(type)) {
                return FormatType.POPULARWORD;
            }
            if ("favorites".equals(type)) {
                return FormatType.FAVORITES;
            }
            if ("health".equals(type)) {
                return FormatType.PING;
            }
            if ("suggest-words".equals(type)) {
                return FormatType.SUGGEST;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                }
            }
        }
    
        /**
         * Adds a favorite count field to the document based on user favorite data.
         * The favorite count represents how many users have marked this document as a favorite.
         *
         * @param map the document data map to add the favorite count to
         */
        protected void addFavoriteCountField(final Map<String, Object> map) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            TestSearchLogEvent clickEvent = new TestSearchLogEvent("id", 1L, "click");
            assertEquals("click", clickEvent.getEventType());
    
            // Test favorite event type
            TestSearchLogEvent favoriteEvent = new TestSearchLogEvent("id", 1L, "favorite");
            assertEquals("favorite", favoriteEvent.getEventType());
    
            // Test user_info event type
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            assertNotNull("Doc ID should be set", dataMap.get("doc_id"));
            assertNotNull("Click count should be set", dataMap.get("click_count"));
            assertNotNull("Favorite count should be set", dataMap.get("favorite_count"));
            assertEquals(1, indexUpdateCallback.docList.size());
        }
    
        public void test_store_withoutUrl_throwsException() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            return clickLogBhv.selectCount(cb -> {
                cb.query().setUrl_Equal(url);
            });
        }
    
        /**
         * Gets the favorite count for a URL.
         *
         * @param url The URL.
         * @return The favorite count.
         */
        public long getFavoriteCount(final String url) {
            final FavoriteLogBhv favoriteLogBhv = ComponentUtil.getComponent(FavoriteLogBhv.class);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                            breakCursor = true;
                        }
                    }
                });
            };
        }
    
        /**
         * Get the write call for favorite log ndjson.
         * @return The write call.
         */
        public static Consumer<Writer> getFavoriteLogNdjsonWriteCall() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

        @Resource
        protected HttpServletRequest request;
    
        /** Flag indicating whether search logging is enabled. */
        protected boolean searchLogSupport;
    
        /** Flag indicating whether favorite functionality is enabled. */
        protected boolean favoriteSupport;
    
        /** Flag indicating whether thumbnail generation is enabled. */
        protected boolean thumbnailSupport;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                        .addSearchLog(params, DfTypeUtil.toLocalDateTime(requestedTime), queryId, query, params.getStartPosition(),
                                params.getPageSize(), queryResponseList);
            }
    
            // favorite
            if (fessConfig.isUserFavorite()) {
                ComponentUtil.getUserInfoHelper().storeQueryId(queryId, documentItems);
            }
    
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
Back to top