- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for Items (0.01 sec)
-
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) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
} /** * Indexes multiple suggest items. * @param items The suggest items to index. * @return The SuggestIndexResponse. */ public SuggestIndexResponse index(final SuggestItem[] items) { // TODO parallel? final SuggestItem[] array = Stream.of(items).filter(item -> !item.isBadWord(badWords)).toArray(n -> new SuggestItem[n]); try {Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 34.8K bytes - Viewed (0) -
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) -
src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java
readings[0] = l.toArray(new String[l.size()]); if (items == null) { items = new ArrayList<>(text.length() * fields.length / field.length()); } final String[] langs = lang == null ? new String[] {} : new String[] { lang }; items.add(new SuggestItem(words, readings, new String[] { field }, 1L, 0, -1, tags, roles, langs,
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 15.4K bytes - Viewed (0) -
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 writtenRegistered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 4.1K bytes - Viewed (0) -
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) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
items.add(new SuggestItem(new String[] { "マルチワード" + i, "fuga" }, readings, new String[] { "content" }, 0, 15 + i, -1, tags, roles, null, SuggestItem.Kind.QUERY)); } return items.toArray(new SuggestItem[items.size()]); } private SuggestItem[] getItemSet2() { List<SuggestItem> items = new ArrayList<>(); {
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 37.2K bytes - Viewed (0) -
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) -
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) -
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)