- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for SuggestSettings (0.14 sec)
-
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
import org.opensearch.common.xcontent.json.JsonXContent; import org.opensearch.core.xcontent.XContentBuilder; import org.opensearch.index.IndexNotFoundException; public class SuggestSettings { private static final Logger logger = LogManager.getLogger(SuggestSettings.class); protected final String settingsId; protected final Client client; protected final String settingsIndexName;
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/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/Suggester.java
}); } public SuggestIndexer indexer() { return createDefaultIndexer(); } public static SuggesterBuilder builder() { return new SuggesterBuilder(); } // getter public SuggestSettings settings() { return suggestSettings; }
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/util/SuggestUtil.java
final ReadingConverterChain chain = new ReadingConverterChain(); chain.addConverter(new KatakanaToAlphabetConverter()); return chain; } public static Normalizer createDefaultNormalizer(final Client client, final SuggestSettings settings) { final NormalizerChain normalizerChain = new NormalizerChain();
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/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)