Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for favorited (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/config/openapi/openapi-user.yaml

      /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
              description: Document ID to be favorited
              required: true
              schema:
                type: string
    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)
  2. src/main/webapp/WEB-INF/view/searchResults.jsp

    					<c:if test="${favoriteSupport}">
    						<div class="d-sm-none"></div>
    						<span class="d-none d-sm-inline-block">&nbsp;</span>
    						<a href="#${doc.doc_id}" class="favorite"><i class="far fa-star" aria-hidden="true"></i></a>
    						<span class="favorited"><i class="fas fa-star" aria-hidden="true"></i></span>
    					</c:if>
    				</div>
    			</li>
    		</c:forEach>
    	</ol>
    	<aside class="col-md-4 d-none d-md-block">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java

    import io.restassured.path.json.JsonPath;
    import io.restassured.response.Response;
    
    /**
     * Integration tests for the Favorites API (/api/v1/favorites and /api/v1/documents/{docId}/favorite)
     * This test requires crawled documents and favorites feature to be properly configured
     */
    @Tag("it")
    @Disabled("Requires favorites feature to be enabled and crawled documents")
    public class FavoritesApiTests extends CrawlTestBase {
    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)
  4. 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)
  5. 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)
  6. 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)
  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