- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for SuggestUtil (0.38 sec)
-
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
import org.opensearch.search.SearchHit; public final class SuggestUtil { private static final int MAX_QUERY_TERM_NUM = 5; private static final int MAX_QUERY_TERM_LENGTH = 48; private static final Base64.Encoder encoder = Base64.getEncoder(); private static final int ID_MAX_LENGTH = 445; private SuggestUtil() { } public static String createSuggestTextId(final String text) {
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/suggest/index/SuggestIndexer.java
if (!scrollId.equals(response.getScrollId())) { SuggestUtil.deleteScrollContext(client, scrollId); } scrollId = response.getScrollId(); } } finally { SuggestUtil.deleteScrollContext(client, scrollId); }
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/index/contents/DefaultContentsParser.java
tagList.addAll(Arrays.asList(SuggestUtil.parseQuery(queryString, tagFieldName))); if (filterQueryString != null) { tagList.addAll(Arrays.asList(SuggestUtil.parseQuery(filterQueryString, tagFieldName))); } } final String[] tags = tagList.toArray(new String[tagList.size()]); final String[] roles1 = SuggestUtil.parseQuery(queryString, roleFieldName);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 13.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
if (!scrollId.equals(response.getScrollId())) { SuggestUtil.deleteScrollContext(client, scrollId); } scrollId = response.getScrollId(); } } finally { SuggestUtil.deleteScrollContext(client, scrollId); } Arrays.sort(array, (o1, o2) -> {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
import org.codelibs.fess.suggest.index.contents.document.ESSourceReader; import org.codelibs.fess.suggest.settings.SuggestSettings; import org.codelibs.fess.suggest.settings.SuggestSettingsBuilder; import org.codelibs.fess.suggest.util.SuggestUtil; import org.codelibs.fess.util.ComponentUtil; import org.opensearch.common.lucene.search.function.CombineFunction; import org.opensearch.index.query.BoolQueryBuilder; import org.opensearch.index.query.QueryBuilders;
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/entity/SuggestItem.java
final List<String> languages = SuggestUtil.getAsList(source.get(FieldNames.LANGUAGES)); final List<String> kinds = SuggestUtil.getAsList(source.get(FieldNames.KINDS)); final long timestamp = Long.parseLong(source.get(FieldNames.TIMESTAMP).toString()); final SuggestItem item = new SuggestItem(); item.text = text;
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/settings/AnalyzerSettings.java
if (!scrollId.equals(response.getScrollId())) { SuggestUtil.deleteScrollContext(client, scrollId); } scrollId = response.getScrollId(); } } finally { SuggestUtil.deleteScrollContext(client, scrollId); } return mappingMap; }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 19.4K bytes - Viewed (0)