- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for supportedFields (0.1 sec)
-
src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java
import junit.framework.TestCase; public class DefaultContentsParserTest extends TestCase { DefaultContentsParser defaultContentsParser = new DefaultContentsParser(); String[] supportedFields = new String[] { "content", "title" }; String[] tagFieldNames = new String[] { "label", "virtual_host" }; String roleFieldName = "role"; public void test_parseQueryLog() throws Exception {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
public SuggestIndexer setIndexName(final String index) { this.index = index; return this; } public SuggestIndexer setSupportedFields(final String[] supportedFields) { this.supportedFields = supportedFields; return this; } public SuggestIndexer setTagFieldNames(final String[] tagFieldNames) { this.tagFieldNames = tagFieldNames; return this; }
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/query/QueryFieldConfig.java
} /** * @return the supportedFields */ public String[] getSearchFields() { return searchFields; } /** * @param supportedFields the supportedFields to set */ public void setSearchFields(final String[] supportedFields) { searchFields = supportedFields; } /** * @return the facetFields */
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 22 04:30:56 UTC 2024 - 16K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
return new SuggestSettingsBuilder(); } public static class DefaultKeys { public static final String INDEX = "index"; public static final String SUPPORTED_FIELDS = "supportedFields"; public static final String TAG_FIELD_NAME = "tagFieldName"; public static final String ROLE_FIELD_NAME = "roleFieldName"; public static final String LANG_FIELD_NAME = "langFieldName";
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/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/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java
assertEquals("settings-test.suggest", settings.getAsString(SuggestSettings.DefaultKeys.INDEX, "")); assertEquals("content", settings.array().get(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS)[0]); assertEquals("label,virtual_host", settings.getAsString(SuggestSettings.DefaultKeys.TAG_FIELD_NAME, "")); assertEquals("role", settings.getAsString(SuggestSettings.DefaultKeys.ROLE_FIELD_NAME, "")); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.5K 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)