- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for SuggestSettings (0.13 sec)
-
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestBulkFileWriter.java
import org.codelibs.fess.suggest.entity.SuggestItem; import org.codelibs.fess.suggest.settings.SuggestSettings; import org.opensearch.client.Client; import org.opensearch.index.query.QueryBuilder; public class SuggestBulkFileWriter implements SuggestWriter { @Override public SuggestWriterResult write(final Client client, final SuggestSettings settings, final String index, final SuggestItem[] items, final boolean update) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java
import org.codelibs.fess.suggest.normalizer.Normalizer; import org.codelibs.fess.suggest.settings.SuggestSettings; import org.codelibs.fess.suggest.settings.SuggestSettingsBuilder; import org.codelibs.fess.suggest.util.SuggestUtil; import org.opensearch.client.Client; public class SuggesterBuilder { protected SuggestSettings settings; protected SuggestSettingsBuilder settingsBuilder;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java
settings.set(SuggestSettings.DefaultKeys.INDEX, indexName); SuggestSettings anotherSettingsInstance = SuggestSettings.builder().build(runner.client(), id + "-2"); anotherSettingsInstance.init(); assertNotSame(indexName, anotherSettingsInstance.getAsString(SuggestSettings.DefaultKeys.INDEX, "")); assertEquals("settings-test-2.suggest", anotherSettingsInstance.getAsString(SuggestSettings.DefaultKeys.INDEX, "")); }
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/suggest/index/contents/document/ESSourceReader.java
protected final long totalDocNum; public ESSourceReader(final Client client, final SuggestSettings settings, final String indexName) { this.client = client; this.settings = settings; this.indexName = indexName; supportedFields = settings.array().get(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS); totalDocNum = getTotal(); } @Override
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/writer/SuggestWriter.java
import org.codelibs.fess.suggest.settings.SuggestSettings; import org.opensearch.client.Client; import org.opensearch.index.query.QueryBuilder; public interface SuggestWriter { SuggestWriterResult write(Client client, SuggestSettings settings, String index, SuggestItem[] items, boolean update); SuggestWriterResult delete(Client client, SuggestSettings settings, String index, String id);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java
*/ package org.codelibs.fess.suggest.index.writer; import org.codelibs.fess.suggest.entity.SuggestItem; import org.codelibs.fess.suggest.exception.SuggestIndexException; import org.codelibs.fess.suggest.settings.SuggestSettings; import org.codelibs.fess.suggest.util.SuggestUtil; import org.opensearch.action.bulk.BulkItemResponse; import org.opensearch.action.bulk.BulkRequestBuilder; import org.opensearch.action.bulk.BulkResponse;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilder.java
} public SuggestSettingsBuilder clusterTimeout(final String timeout) { timeoutSettings.clusterTimeout = timeout; return this; } public SuggestSettings build(final Client client, final String id) { return new SuggestSettings(client, id, initialSettings, settingsIndexName, timeoutSettings); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.5K bytes - Viewed (0) -
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)