Searched defs:country (Results 1 - 3 of 3) sorted by relevance
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/ |
H A D | NewLocaleTask.java | 31 * <li><code>en,US</code>: Language "en", country "US" 32 * <li><code>no,NO,NY</code>: Language "no", country "NO", variant "NY" 40 private String country; field in class:NewLocaleTask 51 static Locale createLocale(String language, String country, String variant) { argument 59 return new Locale(lang, country, variant); 64 Locale locale = createLocale(language, country, variant); 75 language = country = variant = ""; 80 country = st.nextToken();
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/analysis/ |
H A D | CollationKeyFilterFactory.java | 47 * <li>country: ISO-3166 country code (optional) 64 * <filter class="solr.CollationKeyFilterFactory" language="ja" country="JP"/> 79 String country = args.get("country"); 88 (language != null || country != null || variant != null)) 95 collator = createFromLocale(language, country, variant); 133 * Create a locale from language, with optional country and variant. 136 private Collator createFromLocale(String language, String country, String variant) { argument 139 if (language != null && country [all...] |
/lucene-3.6.0/lucene/contrib/join/src/test/org/apache/lucene/search/ |
H A D | TestBlockJoin.java | 51 private Document makeResume(String name, String country) { argument 55 resume.add(newField("country", country, Field.Index.NOT_ANALYZED)); 108 Query parentQuery = new TermQuery(new Term("country", "United Kingdom")); 211 Query parentQuery = new TermQuery(new Term("country", "United Kingdom")); 223 assertEquals("noone live there", 0, s.search(childJoinQuery, new CachingWrapperFilter(new QueryWrapperFilter(new TermQuery(new Term("country", "Oz")))), 1).totalHits); 224 assertEquals("noone live there", 0, s.search(childJoinQuery, new QueryWrapperFilter(new TermQuery(new Term("country", "Oz"))), 1).totalHits); 232 TopDocs usThen = s.search(childJoinQuery , new QueryWrapperFilter(new TermQuery(new Term("country", "United States"))), 1); 237 TermQuery us = new TermQuery(new Term("country", "United States")); 911 Query parentQuery = new TermQuery(new Term("country", "Unite [all...] |
Completed in 28 milliseconds