- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for SuggestItem (0.12 sec)
-
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
} return list.toArray(new Kind[list.size()]); } public static SuggestItem merge(final SuggestItem item1, final SuggestItem item2) { if (!item1.getId().equals(item2.getId())) { throw new IllegalArgumentException("Item id is mismatch."); } final SuggestItem mergedItem = new SuggestItem(); mergedItem.id = item1.getId(); mergedItem.text = item1.getText();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 20.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java
import org.codelibs.fess.suggest.entity.SuggestItem; import org.codelibs.fess.suggest.request.Response; public class SuggestResponse implements Response { protected final String index; protected final long tookMs; protected final List<String> words; protected final int num; protected final long total; protected final List<SuggestItem> items;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
public SuggestIndexResponse index(final SuggestItem item) { return index(new SuggestItem[] { item }); } // TODO return result 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 Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java
import org.codelibs.fess.suggest.entity.SuggestItem; import org.codelibs.fess.suggest.request.Response; public class PopularWordsResponse implements Response { protected final String index; protected final long tookMs; protected final List<String> words; protected final int num; protected final long total; protected final List<SuggestItem> items;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
boolQueryBuilder.must(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.DOCUMENT.toString())); boolQueryBuilder.mustNot(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.QUERY.toString())); boolQueryBuilder.mustNot(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.USER.toString()));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
final List<String> words = new ArrayList<>(); final List<String> firstWords = new ArrayList<>(); final List<String> secondWords = new ArrayList<>(); final List<SuggestItem> firstItems = new ArrayList<>(); final List<SuggestItem> secondItems = new ArrayList<>(); final String index; if (hits.length > 0) { index = hits[0].getIndex(); } else {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 13.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java
import org.codelibs.fess.suggest.concurrent.Deferred; import org.codelibs.fess.suggest.constants.FieldNames; import org.codelibs.fess.suggest.constants.SuggestConstants; import org.codelibs.fess.suggest.entity.SuggestItem; import org.codelibs.fess.suggest.exception.SuggesterException; import org.codelibs.fess.suggest.request.Request; import org.opensearch.action.search.SearchRequestBuilder; import org.opensearch.action.search.SearchResponse;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
import org.codelibs.fess.suggest.converter.ReadingConverter; import org.codelibs.fess.suggest.converter.ReadingConverterChain; import org.codelibs.fess.suggest.entity.SuggestItem; import org.codelibs.fess.suggest.exception.SuggesterException; import org.codelibs.fess.suggest.normalizer.AnalyzerNormalizer; import org.codelibs.fess.suggest.normalizer.Normalizer;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
} builder.addKind(SuggestItem.Kind.USER.toString()); if (ComponentUtil.getFessConfig().isSuggestSearchLog()) { builder.addKind(SuggestItem.Kind.QUERY.toString()); } if (ComponentUtil.getFessConfig().isSuggestDocuments()) { builder.addKind(SuggestItem.Kind.DOCUMENT.toString()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 50.3K bytes - Viewed (0)