Searched defs:language (Results 1 - 7 of 7) sorted by relevance
/lucene-3.6.0/solr/core/src/java/org/apache/solr/analysis/ |
H A D | SnowballPorterFilterFactory.java | 14 * See the License for the specific language governing permissions and 32 * Factory for {@link SnowballFilter}, with configurable language 40 * <filter class="solr.SnowballPorterFilterFactory" protected="protectedkeyword.txt" language="English"/> 49 private String language = "English"; field in class:SnowballPorterFilterFactory 69 final String cfgLanguage = args.get("language"); 70 if(cfgLanguage!=null) language = cfgLanguage; 73 stemClass = Class.forName("org.tartarus.snowball.ext." + language + "Stemmer"); 75 throw new RuntimeException("Can't find class for stemmer language " + language, e); 84 throw new RuntimeException("Error instantiating stemmer for language " [all...] |
H A D | CollationKeyFilterFactory.java | 16 * See the License for the specific language governing permissions and 46 * <li>language: ISO-639 language code (mandatory) 64 * <filter class="solr.CollationKeyFilterFactory" language="ja" country="JP"/> 78 String language = args.get("language"); 84 if (custom == null && language == null) 85 throw new SolrException(ErrorCode.SERVER_ERROR, "Either custom or language is required."); 88 (language != null || country != null || variant != null)) 89 throw new SolrException(ErrorCode.SERVER_ERROR, "Cannot specify both language an 136 createFromLocale(String language, String country, String variant) argument [all...] |
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/ |
H A D | NewLocaleTask.java | 16 * See the License for the specific language governing permissions and 33 * <li><code>ROOT</code>: The root (language-agnostic) Locale 39 private String language; field in class:NewLocaleTask 51 static Locale createLocale(String language, String country, String variant) { argument 52 if (language == null || language.length() == 0) 55 String lang = language; 57 lang = ""; // empty language is the root locale in the JDK 64 Locale locale = createLocale(language, country, variant); 75 language [all...] |
/lucene-3.6.0/solr/contrib/clustering/src/java/org/apache/solr/handler/clustering/carrot2/ |
H A D | LuceneCarrot2StemmerFactory.java | 16 * See the License for the specific language governing permissions and 56 public IStemmer getStemmer(LanguageCode language) { argument 57 switch (language) { 68 return SnowballStemmerFactory.createStemmer(language); 78 * Static hard mapping from language codes to stemmer classes in Snowball. 127 * {@link SnowballProgram} for a given language code. An identity stemmer is 130 public static IStemmer createStemmer(LanguageCode language) { argument 132 .get(language); 135 logger.warn("No Snowball stemmer class for: " + language.name() 144 + " for language [all...] |
H A D | LuceneCarrot2TokenizerFactory.java | 16 * See the License for the specific language governing permissions and 46 public ITokenizer getTokenizer(LanguageCode language) { argument 47 switch (language) {
|
/lucene-3.6.0/solr/contrib/langid/src/java/org/apache/solr/update/processor/ |
H A D | LanguageIdentifierUpdateProcessor.java | 16 * See the License for the specific language governing permissions and 42 * Identifies the language of a set of input fields. 44 * on detected language. 193 log.debug("Detected main document language from fields "+inputFields+": "+docLang); 217 log.debug("Mapping field "+fieldName+" using individually detected language "+fieldLang); 220 log.debug("Mapping field "+fieldName+" using document global language "+fieldLang); 238 + fieldName + " field and language: " + fieldLang); 255 * Decides the fallback language, either from content of fallback field or fallback value 257 * @param fallbackFields an array of strings with field names containing fallback language codes 258 * @param fallbackValue a language cod 310 resolveLanguage(String language, String fallbackLang) argument 360 getMappedField(String currentField, String language) argument [all...] |
/lucene-3.6.0/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/ |
H A D | DataConfig.java | 14 * See the License for the specific language governing permissions and 187 public String language; field in class:DataConfig.Script 195 this.language = getStringAttribute(e, "language", "JavaScript");
|
Completed in 3171 milliseconds