Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

         * @param items the list of suggested items
         */
        public PopularWordsResponse(final String index, final long tookMs, final List<String> words, final long total,
                final List<SuggestItem> items) {
            this.index = index;
            this.tookMs = tookMs;
            this.words = words;
            num = words.size();
            this.total = total;
            this.items = 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/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java

         * @return a list of suggest items parsed from the query log
         */
        List<SuggestItem> parseQueryLog(QueryLog queryLog, String[] fields, String[] tagFieldNames, String roleFieldName,
                ReadingConverter readingConverter, Normalizer normalizer);
    
        /**
         * Parses a document and extracts suggest items based on the provided fields and converters.
         *
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java

    /**
     * Interface for writing suggest items.
     */
    public interface SuggestWriter {
        /**
         * Writes the given suggest items to the specified index.
         *
         * @param client   the client used to interact with the search engine
         * @param settings the settings for the suggest feature
         * @param index    the name of the index where the suggest items will be written
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java

        /** The list of suggested items. */
        protected final List<SuggestItem> items;
    
        /**
         * Constructor for SuggestResponse.
         * @param index The index name.
         * @param tookMs The time taken in milliseconds.
         * @param words The list of suggested words.
         * @param total The total number of hits.
         * @param items The list of suggested items.
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestBulkFileWriter.java

    import org.opensearch.transport.client.Client;
    
    /**
     * SuggestBulkFileWriter is an implementation of the SuggestWriter interface.
     * This class is responsible for writing and deleting suggest items in bulk.
     *
     * <p>Currently, the methods in this class throw UnsupportedOperationException
     * as they are not yet implemented.</p>
     *
     * @see SuggestWriter
     */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

            QueryLog queryLog = new QueryLog("content:検索エンジン", null);
            List<SuggestItem> items = defaultContentsParser.parseQueryLog(queryLog, supportedFields, tagFieldNames, roleFieldName,
                    createDefaultReadingConverter(), createDefaultNormalizer());
            SuggestItem item = items.get(0);
            assertEquals("検索エンジン", item.getText());
            assertEquals(SuggestItem.Kind.QUERY, item.getKinds()[0]);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

        @Override
        public SuggestWriterResult write(final Client client, final SuggestSettings settings, final String index, final SuggestItem[] items,
                final boolean update) {
            final BulkRequestBuilder bulkRequestBuilder = client.prepareBulk();
    
            final SuggestItem[] mergedItems = mergeItems(items);
            if (mergedItems.length == 0) {
                return new SuggestWriterResult();
            }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

                words.add(text);
    
                if (detail) {
                    items.add(SuggestItem.parseSource(source));
                }
            }
    
            return new PopularWordsResponse(index, searchResponse.getTook().getMillis(), words, searchResponse.getHits().getTotalHits().value(),
                    items);
        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

        /**
         * The expiration time for the filter cache in seconds.
         */
        protected int filterCacheExpireAfterWrite = 10; // 10sec
    
        /**
         * The maximum number of items to load into the cache.
         */
        protected int maxLoadSize = 10000;
    
        /**
         * Creates a new instance of OpenSearchUrlFilterService.
         * @param crawlerConfig The crawler configuration.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top