Searched defs:check (Results 1 - 15 of 15) sorted by relevance

/lucene-3.6.0/lucene/contrib/spellchecker/src/test/org/apache/lucene/search/suggest/fst/
H A DBytesRefSortersTest.java28 check(new ExternalRefSorter(new Sort()));
33 check(new InMemorySorter(BytesRef.getUTF8SortedAsUnicodeComparator()));
36 private void check(BytesRefSorter sorter) throws Exception { method in class:BytesRefSortersTest
43 // Create two iterators and check that they're aligned with each other.
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/fa/
H A DTestPersianNormalizationFilter.java38 check("های", "هاي");
42 check("هاے", "هاي");
46 check("کشاندن", "كشاندن");
50 check("كتابۀ", "كتابه");
54 check("كتابهٔ", "كتابه");
58 check("زادہ", "زاده");
61 private void check(final String input, final String expected) throws IOException { method in class:TestPersianNormalizationFilter
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/hi/
H A DTestHindiNormalizer.java40 check("अँगरेज़ी", "अंगरेजि");
41 check("अँगरेजी", "अंगरेजि");
42 check("अँग्रेज़ी", "अंगरेजि");
43 check("अँग्रेजी", "अंगरेजि");
44 check("अंगरेज़ी", "अंगरेजि");
45 check("अंगरेजी", "अंगरेजि");
46 check("अंग्रेज़ी", "अंगरेजि");
47 check("अंग्रेजी", "अंगरेजि");
52 check("क़िताब", "किताब");
53 check("फ़र्ज़", "फरज");
65 private void check(String input, String output) throws IOException { method in class:TestHindiNormalizer
[all...]
H A DTestHindiStemmer.java40 check("लडका", "लडक");
41 check("लडके", "लडक");
42 check("लडकों", "लडक");
44 check("गुरु", "गुर");
45 check("गुरुओं", "गुर");
47 check("दोस्त", "दोस्त");
48 check("दोस्तों", "दोस्त");
55 check("लडकी", "लडक");
56 check("लडकियों", "लडक");
58 check("किताब", "किताब");
87 private void check(String input, String output) throws IOException { method in class:TestHindiStemmer
[all...]
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/in/
H A DTestIndicNormalizer.java40 check("अाॅअाॅ", "ऑऑ");
41 check("अाॆअाॆ", "ऒऒ");
42 check("अाेअाे", "ओओ");
43 check("अाैअाै", "औऔ");
44 check("अाअा", "आआ");
45 check("अाैर", "और");
47 check("ত্‍", "ৎ");
50 private void check(String input, String output) throws IOException { method in class:TestIndicNormalizer
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/miscellaneous/
H A DPatternAnalyzerTest.java44 check(a, "The quick brown Fox,the abcd1234 (56.78) dc.", new String[] {
50 check(b, "The quick brown Fox,the abcd1234 (56.78) dc.", new String[] {
62 check(a, "The quick brown Fox,the abcd1234 (56.78) dc.", new String[] {
68 check(b, "The quick brown Fox,the abcd1234 (56.78) dc.", new String[] {
79 check(a, "Here,Are,some,Comma,separated,words,", new String[] { "Here",
85 check(b, "Here,Are,some,Comma,separated,words,", new String[] { "here",
110 check(a, document.toString(), new String[] { new String(largeWord),
123 private void check(PatternAnalyzer analyzer, String document, method in class:PatternAnalyzerTest
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/search/
H A DQueryUtils.java48 public static void check(Query q) { method in class:QueryUtils
52 /** check very basic hashCode and equals */
61 // test that a class check is done so that no exception is thrown
90 /** deep check that explanations of a query 'score' correctly */
99 * @see #check(Query)
106 public static void check(Random random, Query q1, Searcher s) { method in class:QueryUtils
107 check(random, q1, s, true);
109 public static void check(Random random, Query q1, Searcher s, boolean wrap) { method in class:QueryUtils
111 check(q1);
118 check(rando
[all...]
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/search/
H A DQueryUtils.java48 public static void check(Query q) { method in class:QueryUtils
52 /** check very basic hashCode and equals */
61 // test that a class check is done so that no exception is thrown
90 /** deep check that explanations of a query 'score' correctly */
99 * @see #check(Query)
106 public static void check(Random random, Query q1, Searcher s) { method in class:QueryUtils
107 check(random, q1, s, true);
109 private static void check(Random random, Query q1, Searcher s, boolean wrap) { method in class:QueryUtils
111 check(q1);
118 check(rando
[all...]
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/ar/
H A DTestArabicNormalizationFilter.java36 check("آجن", "اجن");
40 check("أحمد", "احمد");
44 check("إعاذ", "اعاذ");
48 check("بنى", "بني");
52 check("فاطمة", "فاطمه");
56 check("روبرـــــت", "روبرت");
60 check("مَبنا", "مبنا");
64 check("علِي", "علي");
68 check("بُوات", "بوات");
72 check("ولداً", "ولدا");
91 private void check(final String input, final String expected) throws IOException { method in class:TestArabicNormalizationFilter
[all...]
H A DTestArabicStemFilter.java39 check("الحسن", "حسن");
43 check("والحسن", "حسن");
47 check("بالحسن", "حسن");
51 check("كالحسن", "حسن");
55 check("فالحسن", "حسن");
59 check("للاخر", "اخر");
63 check("وحسن", "حسن");
67 check("زوجها", "زوج");
71 check("ساهدان", "ساهد");
75 check("ساهدات", "ساهد");
131 private void check(final String input, final String expected) throws IOException { method in class:TestArabicStemFilter
[all...]
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/br/
H A DTestBrazilianStemmer.java42 check("boa", "boa");
43 check("boainain", "boainain");
44 check("boas", "boas");
45 check("bôas", "boas"); // removes diacritic: different from snowball portugese
46 check("boassu", "boassu");
47 check("boataria", "boat");
48 check("boate", "boat");
49 check("boates", "boat");
50 check("boatos", "boat");
51 check("bo
186 private void check(final String input, final String expected) throws Exception { method in class:TestBrazilianStemmer
[all...]
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/nl/
H A DTestDutchStemmer.java37 check("lichaamsziek", "lichaamsziek");
38 check("lichamelijk", "licham");
39 check("lichamelijke", "licham");
40 check("lichamelijkheden", "licham");
41 check("lichamen", "licham");
42 check("lichere", "licher");
43 check("licht", "licht");
44 check("lichtbeeld", "lichtbeeld");
45 check("lichtbruin", "lichtbruin");
46 check("lichtdoorlatend
217 private void check(final String input, final String expected) throws Exception { method in class:TestDutchStemmer
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DFieldCacheSanityChecker.java44 * Unit tests) to check at run time if the FieldCache contains "insane"
70 * @see #check
79 * @see #check
84 return sanityChecker.check(cacheEntries);
95 public Insanity[] check(CacheEntry... cacheEntries) { method in class:FieldCacheSanityChecker
156 * Internal helper method used by check that iterates over
193 * Internal helper method used by check that iterates over
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/spans/
H A DTestFieldMaskingSpanQuery.java129 protected void check(SpanQuery q, int[] docs) throws Exception { method in class:TestFieldMaskingSpanQuery
211 check(q, new int[] { /* :EMPTY: */ });
218 check(q, new int[] { 1, 2 });
222 check(q, new int[] { 1, 2 });
230 check(q, new int[] { 0, 2 });
233 check(q, new int[] { 0, 2 });
236 check(q, new int[] { 0, 2 });
239 check(q, new int[] { 0, 2 });
248 check(q, new int[] { 2, 4 });
252 check(
[all...]
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/spans/
H A DTestFieldMaskingSpanQuery.java129 protected void check(SpanQuery q, int[] docs) throws Exception { method in class:TestFieldMaskingSpanQuery
211 check(q, new int[] { /* :EMPTY: */ });
218 check(q, new int[] { 1, 2 });
222 check(q, new int[] { 1, 2 });
230 check(q, new int[] { 0, 2 });
233 check(q, new int[] { 0, 2 });
236 check(q, new int[] { 0, 2 });
239 check(q, new int[] { 0, 2 });
248 check(q, new int[] { 2, 4 });
252 check(
[all...]

Completed in 22 milliseconds