- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for SuggestSettings (0.23 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/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/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/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/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/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)