- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for getAsInt (0.09 sec)
-
src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiKatakanaStemmerFactory.java
public KuromojiKatakanaStemmerFactory(IndexSettings indexSettings, Environment environment, String name, Settings settings) { super(indexSettings, name, settings); minimumLength = settings.getAsInt("minimum_length", JapaneseKatakanaStemFilter.DEFAULT_MINIMUM_LENGTH); } @Override public TokenStream create(TokenStream tokenStream) { return new JapaneseKatakanaStemFilter(tokenStream, minimumLength);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizerFactory.java
final Settings settings) { super(indexSettings, settings, name); ignoreCase = settings.getAsBoolean("ignore_case", true); n = settings.getAsInt("n", NGramSynonymTokenizer.DEFAULT_N_SIZE); delimiters = settings.get("delimiters", NGramSynonymTokenizer.DEFAULT_DELIMITERS); expand = settings.getAsBoolean("expand", true);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/AlphaNumWordFilterFactory.java
final Settings settings) { super(indexSettings, name, settings); maxTokenLength = settings.getAsInt("max_token_length", AlphaNumWordFilter.DEFAULT_MAX_TOKEN_LENGTH); } @Override public TokenStream create(final TokenStream tokenStream) {
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/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java
} @Test public void test_setAndGetAsInt() { String key = "key"; int value = 1; settings.set(key, value); assertEquals(value, settings.getAsInt(key, -1)); } @Test public void test_setAndGetAsLong() { String key = "key"; long value = Long.MAX_VALUE; settings.set(key, value);
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/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java
mode = getMode(settings); userDictionary = getUserDictionary(env, settings); discartPunctuation = settings.getAsBoolean("discard_punctuation", true); nBestCost = settings.getAsInt(NBEST_COST, -1); nBestExamples = settings.get(NBEST_EXAMPLES); } private static String parse(String rule, Set<String> dup) { String[] values = CSVUtil.parse(rule);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
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/settings/AnalyzerSettings.java
} } return sb.toString(); } public class DefaultContentsAnalyzer implements SuggestAnalyzer { private final int maxContentLenth = settings.getAsInt(SuggestSettings.DefaultKeys.MAX_CONTENT_LENGTH, 50000); @Override public List<AnalyzeToken> analyze(final String text, final String field, final String lang) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 19.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
@Beta @InlineMe(replacement = "optional.stream()") @InlineMeValidationDisabled("Java 9+ API only") public static IntStream stream(OptionalInt optional) { return optional.isPresent() ? IntStream.of(optional.getAsInt()) : IntStream.empty(); } /** * If a value is present in {@code optional}, returns a stream containing only that element, * otherwise returns an empty stream. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 37.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Streams.java
@Beta @InlineMe(replacement = "optional.stream()") @InlineMeValidationDisabled("Java 9+ API only") public static IntStream stream(OptionalInt optional) { return optional.isPresent() ? IntStream.of(optional.getAsInt()) : IntStream.empty(); } /** * If a value is present in {@code optional}, returns a stream containing only that element, * otherwise returns an empty stream. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 36.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java
settingsBuilder.putProperties(settings, s -> s); } }); runner.build(config); final int port = runner.node().settings().getAsInt("http.port", 9200); httpAddress = "http://localhost:" + port; logger.warn("Embedded OpenSearch is running. This configuration is not recommended for production use."); break;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Oct 20 02:08:03 UTC 2024 - 86.1K bytes - Viewed (0)