Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for Favorit (0.05 seconds)

  1. src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java

                String docId = docs.get(0).get("doc_id").toString();
    
                // Set favorite
                Map<String, String> params = new HashMap<>();
                params.put("queryId", queryId);
    
                Response response =
                        given().contentType("application/json").params(params).when().post("/api/v1/documents/" + docId + "/favorite");
    
                // Should return 200 or 201
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  2. src/main/config/openapi/openapi-user.yaml

              $ref: '#/components/responses/NotFound'
            '500':
              $ref: '#/components/responses/InternalServerError'
    
      /documents/{docId}/favorite:
        post:
          tags:
            - favorite
          summary: Set a favorite mark
          description: Set a favorite mark to the document
          operationId: setFavorite
          parameters:
            - name: docId
              in: path
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu May 09 06:31:27 GMT 2024
    - 21.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

            }
        }
    
        /**
         * Adds favorite count information to the document.
         *
         * @param doc the document to update
         * @param url the URL to get favorite count for
         * @param favoriteCountField the field name to store favorite count
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  4. 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) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

                    }
                }
            }
        }
    
        /**
         * Creates search conditions for favorite log queries based on pager criteria.
         *
         * @param pager The search log pager containing filter criteria
         * @param cb The favorite log condition bean to configure
         */
        private void createFavoriteLogCondition(final SearchLogPager pager, final FavoriteLogCB cb) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 32.7K bytes
    - Click Count (0)
  6. 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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

         * When enabled, user information is stored and tracked.
         */
        @Size(max = 10)
        public String userInfo;
    
        /**
         * Enable or disable user favorite functionality.
         * When enabled, users can save favorite search results.
         */
        @Size(max = 10)
        public String userFavorite;
    
        /**
         * Enable or disable JSON Web API.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            assertNotNull(dataMap.get("doc_id"), "Doc ID should be set");
            assertNotNull(dataMap.get("click_count"), "Click count should be set");
            assertNotNull(dataMap.get("favorite_count"), "Favorite count should be set");
            assertEquals(1, indexUpdateCallback.docList.size());
        }
    
        @Test
        public void test_store_withoutUrl_throwsException() {
            // Prepare test data without URL
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  9. src/main/webapp/WEB-INF/view/admin/searchlog/admin_searchlog.jsp

                                                        key="labels.searchlog_log_type_user_info"/></la:option>
                                                <la:option value="favorite"><la:message
                                                        key="labels.searchlog_log_type_favorite"/></la:option>
                                                <la:option value="search_keyword_agg"><la:message
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  10. 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);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 29.3K bytes
    - Click Count (0)
Back to Top