Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getAsInt (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top