- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for DefaultKeys (0.08 sec)
-
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
defaultSettings.put(DefaultKeys.INDEX, (settingsId + ".suggest").toLowerCase()); defaultSettings.put(DefaultKeys.TAG_FIELD_NAME, "label,virtual_host"); defaultSettings.put(DefaultKeys.ROLE_FIELD_NAME, "role"); defaultSettings.put(DefaultKeys.LANG_FIELD_NAME, "lang"); defaultSettings.put(DefaultKeys.PARALLEL_PROCESSING, Boolean.FALSE); return defaultSettings;
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
badWords = settings.badword().get(true); tagFieldNames = settings.getAsString(SuggestSettings.DefaultKeys.TAG_FIELD_NAME, StringUtil.EMPTY).split(","); roleFieldName = settings.getAsString(SuggestSettings.DefaultKeys.ROLE_FIELD_NAME, StringUtil.EMPTY); langFieldName = settings.getAsString(SuggestSettings.DefaultKeys.LANG_FIELD_NAME, StringUtil.EMPTY);
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/test/java/org/codelibs/fess/suggest/SuggesterTest.java
} @Test public void test_indexFromQueryString() throws Exception { SuggestSettings settings = suggester.settings(); String field = settings.array().get(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS)[0]; SuggestIndexResponse indexResponse = suggester.indexer().indexFromQueryLog(new QueryLog(field + ":検索", null)); assertEquals(1, indexResponse.getNumberOfInputDocs());
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
} try { suggester.settings().array().delete(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS); split(fessConfig.getSuggestFieldIndexContents(), ",").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(field -> { try { suggester.settings().array().add(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS, field); } catch (final SuggestSettingsException e) {
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/Suggester.java
this.contentsReadingConverter = contentsReadingConverter; this.normalizer = normalizer; this.analyzer = analyzer; index = settings.getAsString(SuggestSettings.DefaultKeys.INDEX, StringUtil.EMPTY); this.threadPool = threadPool; if (logger.isDebugEnabled()) { logger.debug("Create suggester instance for {}", index); } }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 14.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java
} return sb.toString(); } public class DefaultContentsAnalyzer implements SuggestAnalyzer { private final int maxContentLenth = settings.getAsInt(SuggestSettings.DefaultKeys.MAX_CONTENT_LENGTH, 50000); @Override public List<AnalyzeToken> analyze(final String text, final String field, final String lang) { if (text == null || text.length() > maxContentLenth) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 19.4K bytes - Viewed (0)