- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for SuggestSettings (0.1 sec)
-
src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java
protected final Client client; protected final AnalyzerSettings analyzerSettings; private final SuggestSettings settings; public AnalyzerNormalizer(final Client client, final SuggestSettings settings) { this.client = client; this.settings = settings; analyzerSettings = settings.analyzer(); } @Override
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java
import java.util.Map; import java.util.Random; import java.util.Set; import java.util.concurrent.atomic.AtomicInteger; import org.codelibs.fess.suggest.Suggester; import org.codelibs.fess.suggest.settings.SuggestSettings; import org.codelibs.opensearch.runner.OpenSearchRunner; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.opensearch.action.bulk.BulkRequestBuilder;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 8.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterBuilderTest.java
final Suggester suggester = Suggester.builder().settings(SuggestSettings.builder().setSettingsIndexName(settingsIndexName)) .readingConverter(converter).normalizer(normalizer).build(runner.client(), id); assertEquals(runner.client(), suggester.client); SuggestSettings settings = suggester.settings(); assertEquals(settingsIndexName, settings.getSettingsIndexName());
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 3.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
assertEquals(0, response2.getNum()); } @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));
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/suggest/index/SuggestIndexer.java
final SuggestSettings settings, final ExecutorService threadPool) { this.client = client; this.index = index; supportedFields = settings.array().get(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS); badWords = settings.badword().get(true); tagFieldNames = settings.getAsString(SuggestSettings.DefaultKeys.TAG_FIELD_NAME, StringUtil.EMPTY).split(",");
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/converter/AnalyzerConverter.java
protected final Client client; private final SuggestSettings settings; protected final AnalyzerSettings analyzerSettings; protected final Transliterator transliterator = Transliterator.getInstance("Hiragana-Katakana"); public AnalyzerConverter(final Client client, final SuggestSettings settings) { this.client = client; this.settings = settings;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 4.8K 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/test/java/org/codelibs/fess/suggest/settings/ArraySettingsTest.java
import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.opensearch.index.IndexNotFoundException; public class ArraySettingsTest { String id = "arraySettingsTest"; static SuggestSettings settings; static OpenSearchRunner runner; @BeforeClass public static void beforeClass() throws Exception { runner = new OpenSearchRunner();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java
public static final String DOC_TYPE_NAME = "_doc"; protected final Client client; protected final String analyzerSettingsIndexName; private final SuggestSettings settings; protected static Map<String, Set<String>> analyzerMap = new ConcurrentHashMap<>(); protected static Map<String, Map<String, FieldAnalyzerMapping>> fieldAnalyzerMappingMap = new ConcurrentHashMap<>();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 19.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
protected final Client client; protected final String arraySettingsIndexName; protected final String settingsId; protected final SuggestSettings settings; private static final Base64.Encoder encoder = Base64.getEncoder(); protected ArraySettings(final SuggestSettings settings, final Client client, final String settingsIndexName, final String settingsId) { this.settings = settings; this.client = client;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 10.9K bytes - Viewed (0)