Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for PopularWordsResponse (0.11 sec)

  1. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java

        /**
         * Constructs a new PopularWordsResponse.
         *
         * @param index the index associated with the response
         * @param tookMs the time taken to generate the response in milliseconds
         * @param words the list of popular words
         * @param total the total number of words
         * @param items the list of suggested items
         */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestTest.java

            indexQueryItems();
    
            PopularWordsResponse response = suggester.popularWords().setSize(10).addTag("tag1").execute().getResponse();
    
            assertNotNull(response);
            assertTrue(response.getTotal() > 0);
        }
    
        @Test
        public void test_addRole() throws Exception {
            indexQueryItems();
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponseTest.java

            List<String> words = new ArrayList<>();
            PopularWordsResponse response = new PopularWordsResponse("my-index", 50, words, 5, new ArrayList<>());
    
            assertEquals("my-index", response.getIndex());
        }
    
        @Test
        public void test_getTookMs() throws Exception {
            List<String> words = new ArrayList<>();
            PopularWordsResponse response = new PopularWordsResponse("test-index", 123, words, 5, new ArrayList<>());
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilderTest.java

        @Test
        public void test_basicBuilder() throws Exception {
            indexItems();
    
            PopularWordsResponse response = suggester.popularWords().execute().getResponse();
    
            assertNotNull(response);
        }
    
        @Test
        public void test_setSize() throws Exception {
            indexItems();
    
            PopularWordsResponse response = suggester.popularWords().setSize(5).execute().getResponse();
    
            assertNotNull(response);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

     *   <li>Building the OpenSearch query and rescorer for the popular words search.</li>
     *   <li>Creating a {@link PopularWordsResponse} from the OpenSearch search response.</li>
     * </ul>
     *
     * @see Request
     * @see PopularWordsResponse
     */
    public class PopularWordsRequest extends Request<PopularWordsResponse> {
        /**
         * Constructs a new popular words request.
         */
        public PopularWordsRequest() {
            // nothing
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilder.java

     * This builder provides methods to set various parameters for the request.
     */
    public class PopularWordsRequestBuilder extends RequestBuilder<PopularWordsRequest, PopularWordsResponse> {
        /**
         * Constructor for PopularWordsRequestBuilder.
         * @param client The OpenSearch client.
         */
        public PopularWordsRequestBuilder(final Client client) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. README.md

    suggester.indexer().indexFromQueryLog(queryLog);
    ```
    
    ### Popular Words Analytics
    
    ```java
    import org.codelibs.fess.suggest.request.popularwords.PopularWordsResponse;
    
    PopularWordsResponse popularWords = suggester.popularWords()
        .setSize(20)                    // top 20 words
        .setQuery("tech*")              // filter pattern
        .execute()
        .getResponse();
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  8. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

    import org.codelibs.fess.suggest.index.contents.querylog.QueryLog;
    import org.codelibs.fess.suggest.index.contents.querylog.QueryLogReader;
    import org.codelibs.fess.suggest.request.popularwords.PopularWordsResponse;
    import org.codelibs.fess.suggest.request.suggest.SuggestResponse;
    import org.codelibs.fess.suggest.settings.AnalyzerSettings;
    import org.codelibs.fess.suggest.settings.SuggestSettings;
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 37.4K bytes
    - Viewed (0)
Back to top