Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Num (0.01 sec)

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

        protected final long tookMs;
    
        /**
         * The list of popular words.
         */
        protected final List<String> words;
    
        /**
         * The number of popular words.
         */
        protected final int num;
    
        /**
         * The total number of words.
         */
        protected final long total;
    
        /**
         * The list of suggested items.
         */
        protected final List<SuggestItem> items;
    
        /**
    Registered: Fri Sep 19 09:08:11 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/index/contents/document/ESSourceReaderTest.java

            }
            assertEquals(num, count);
            assertEquals(num, valueSet.size());
        }
    
        @Test
        public void test_ReadWithLimit() throws Exception {
            String indexName = "test-index";
            Client client = runner.client();
            SuggestSettings settings = suggester.settings();
            int num = 10000;
    
            addDocument(indexName, client, num);
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java

        protected final long tookMs;
    
        /** The list of suggested words. */
        protected final List<String> words;
    
        /** The number of suggested words. */
        protected final int num;
    
        /** The total number of hits. */
        protected final long total;
    
        /** The list of suggested items. */
        protected final List<SuggestItem> items;
    
        /**
         * Constructor for SuggestResponse.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/Suggester.java

                }
                if (updateIndices.size() != 1) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Unexpected update indices num: {}", updateIndices.size());
                    }
                    throw new SuggesterException("Unexpected update indices num:" + updateIndices.size());
                }
                final String updateIndex = updateIndices.get(0);
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (3)
  5. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

         * @param tags The tags.
         * @param roles The roles.
         * @param num The number.
         * @param langs The languages.
         * @return The SuggestIndexResponse.
         */
        public SuggestIndexResponse indexFromSearchWord(final String searchWord, final String[] fields, final String[] tags,
                final String[] roles, final int num, final String[] langs) {
            if (logger.isDebugEnabled()) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

        public void setUp() {
            testConverter = new TestReadingConverter();
            converter = testConverter;
        }
    
        @Test
        public void testGetMaxReadingNum() {
            // Test default max reading num
            assertEquals(10, converter.getMaxReadingNum());
        }
    
        @Test
        public void testInitNormal() throws IOException {
            // Test normal initialization
            converter.init();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

                public void onResponse(final SearchResponse searchResponse) {
                    if (searchResponse.getFailedShards() > 0) {
                        deferred.reject(new SuggesterException("Search failure. Failed shards num:" + searchResponse.getFailedShards()));
                    } else {
                        deferred.resolve(createResponse(searchResponse));
                    }
                }
    
                @Override
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

        }
    
        @Test
        public void test_indexFromDocumentReader() throws Exception {
            Client client = runner.client();
            int num = 10000;
            String indexName = "test";
    
            BulkRequestBuilder bulkRequestBuilder = client.prepareBulk();
            for (int i = 0; i < num; i++) {
                Map<String, Object> source = Collections.singletonMap("content", "test");
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 37.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                public void onResponse(final SearchResponse searchResponse) {
                    if (searchResponse.getFailedShards() > 0) {
                        deferred.reject(new SuggesterException("Search failure. Failed shards num:" + searchResponse.getFailedShards()));
                    } else {
                        deferred.resolve(createResponse(searchResponse));
                    }
                }
    
                @Override
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top