Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getAsTime (0.29 sec)

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

            if (path != null) {
                keywordPath = environment.configFile().resolve(path);
            } else {
                keywordPath = null;
            }
    
            reloadInterval = settings.getAsTime("reload_interval", TimeValue.timeValueMinutes(1)).getMillis();
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
            if (keywordPath == null) {
                return tokenStream;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableStopFilterFactory.java

            } 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) {
            if (stopwordPath == null) {
                return 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)
  3. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

                    } catch (final Exception e) {
                        throw new IllegalArgumentException("Failed to read " + filePath, e);
                    }
    
                    reloadInterval = settings.getAsTime("reload_interval", TimeValue.timeValueMinutes(1)).getMillis();
    
                } else {
                    reader = Analysis.getReaderFromFile(env, settings, "synonyms_path");
                }
            } else {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java

                    if (file.exists()) {
                        reloadableFile = file;
                        dictionaryTimestamp = reloadableFile.lastModified();
    
                        reloadInterval = settings.getAsTime("reload_interval", TimeValue.timeValueMinutes(1)).getMillis();
    
                        if (VERBOSE) {
                            System.out.println("Check " + reloadableFile.getAbsolutePath() + " (interval: " + reloadInterval + "ms)");
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top