Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getSynonymMap (0.15 sec)

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

            settings.getAsBoolean("expand_ngram", false); // TODO remove
    
            synonymLoader = new SynonymLoader(env, settings, expand, SynonymLoader.getAnalyzer(ignoreCase));
            if (synonymLoader.getSynonymMap() == null) {
                if (settings.getAsList("synonyms", null) != null) {
                    logger.warn("synonyms values are empty.");
                } else if (settings.get("synonyms_path") != null) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                } else {
                    this.synonymLoader = null;
                    this.lastModified = System.currentTimeMillis();
                }
                synonymMap = synonymLoader.getSynonymMap();
                if (synonymMap != null && synonymMap.fst == null) {
                    this.synonymMap = null;
                }
            } else {
                this.synonymLoader = null;
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

                        }
                    }
                }
            }
    
            if (lastModified != time) {
                return true;
            }
    
            return false;
        }
    
        public SynonymMap getSynonymMap() {
            return synonymMap;
        }
    
        protected void createSynonymMap(final boolean reload) {
            try (Reader rulesReader = getReader(reload)) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top