Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getAsBoolean (0.15 sec)

  1. src/test/java/org/codelibs/opensearch/extension/analysis/FlexiblePorterStemFilterFactory.java

            super(indexSettings, name, settings);
    
            step1 = settings.getAsBoolean("step1", true);
            step2 = settings.getAsBoolean("step2", true);
            step3 = settings.getAsBoolean("step3", true);
            step4 = settings.getAsBoolean("step4", true);
            step5 = settings.getAsBoolean("step5", true);
            step6 = settings.getAsBoolean("step6", true);
        }
    
        @Override
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizerFactory.java

            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);
    
            settings.getAsBoolean("expand_ngram", false); // TODO remove
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/opensearch/extension/analysis/CharTypeFilterFactory.java

                final Settings settings) {
            super(indexSettings, name, settings);
    
            alphabetic = settings.getAsBoolean("alphabetic", true);
            digit = settings.getAsBoolean("digit", true);
            letter = settings.getAsBoolean("letter", true);
        }
    
        @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.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiIterationMarkCharFilterFactory.java

            super(indexSettings, name);
            normalizeKanji = settings.getAsBoolean("normalize_kanji", JapaneseIterationMarkCharFilter.NORMALIZE_KANJI_DEFAULT);
            normalizeKana = settings.getAsBoolean("normalize_kana", JapaneseIterationMarkCharFilter.NORMALIZE_KANA_DEFAULT);
        }
    
        @Override
        public Reader create(Reader reader) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/JapaneseStopTokenFilterFactory.java

            super(indexSettings, name, settings);
            this.ignoreCase = settings.getAsBoolean("ignore_case", false);
            this.removeTrailing = settings.getAsBoolean("remove_trailing", true);
            this.stopWords =
                    Analysis.parseWords(env, settings, "stopwords", JapaneseAnalyzer.getDefaultStopSet(), NAMED_STOP_WORDS, ignoreCase);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/opensearch/extension/analysis/StopTokenSuffixFilterFactory.java

            if (wordList != null) {
                stopwords = wordList.toArray(new String[wordList.size()]);
            } else {
                stopwords = new String[0];
            }
    
            ignoreCase = settings.getAsBoolean("ignore_case", Boolean.FALSE).booleanValue();
            if (ignoreCase) {
                for (int i = 0; i < stopwords.length; i++) {
                    stopwords[i] = stopwords[i].toLowerCase(Locale.ROOT);
                }
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableStopFilterFactory.java

            if (path != null) {
                stopwordPath = environment.configFile().resolve(path);
            } else {
                stopwordPath = null;
            }
    
            ignoreCase = settings.getAsBoolean("ignore_case", false);
            reloadInterval = settings.getAsTime("reload_interval", TimeValue.timeValueMinutes(1)).getMillis();
        }
    
        @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
    - 2.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java

        }
    
        @Test
        public void test_setAndGetAsBoolean() {
            String key = "key";
            settings.set(key, true);
            assertEquals(true, settings.getAsBoolean(key, false));
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiReadingFormFilterFactory.java

        public KuromojiReadingFormFilterFactory(IndexSettings indexSettings, Environment environment, String name, Settings settings) {
            super(indexSettings, name, settings);
            useRomaji = settings.getAsBoolean("use_romaji", false);
        }
    
        @Override
        public TokenStream create(TokenStream tokenStream) {
            return new JapaneseReadingFormFilter(tokenStream, useRomaji);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java

            super(indexSettings, settings, name);
            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) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top