/lucene-3.6.0/solr/core/src/test/org/apache/solr/schema/ |
H A D | NumericFieldsTest.java | 32 static String[] types = new String[]{"int", "long", "float", "double", "date"}; field in class:NumericFieldsTest 37 for (String t : types) { 63 for (String t : types) { 111 for (String t : types) { 136 for (String t : types) {
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/search/ |
H A D | TestValueSourceCache.java | 64 String[] types = new String[]{ 76 for (String type : types) { 78 tryQueryDiffTypes(template, nums, types); 113 void tryQueryDiffTypes(String template, String numbers, String[] types) { argument 122 s1 = s1.replace(patV, types[idx % types.length]).replace(patN, numParts[idx]); 123 s2 = s2.replace(patV, types[(idx + 1) % types.length]).replace(patN, numParts[idx]);
|
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/analysis/ |
H A D | BaseTokenStreamTestCase.java | 85 public static void assertTokenStreamContents(TokenStream ts, String[] output, int startOffsets[], int endOffsets[], String types[], int posIncrements[], Integer finalOffset) throws IOException { argument 99 if (types != null) { 128 if (types != null) 129 assertEquals("type "+i, types[i], typeAtt.type()); 153 public static void assertTokenStreamContents(TokenStream ts, String[] output, int startOffsets[], int endOffsets[], String types[], int posIncrements[]) throws IOException { argument 154 assertTokenStreamContents(ts, output, startOffsets, endOffsets, types, posIncrements, null); 161 public static void assertTokenStreamContents(TokenStream ts, String[] output, String[] types) throws IOException { argument 162 assertTokenStreamContents(ts, output, null, null, types, null, null); 185 public static void assertAnalyzesTo(Analyzer a, String input, String[] output, int startOffsets[], int endOffsets[], String types[], int posIncrements[]) throws IOException { argument 186 assertTokenStreamContents(a.tokenStream("dummy", new StringReader(input)), output, startOffsets, endOffsets, types, posIncrement 193 assertAnalyzesTo(Analyzer a, String input, String[] output, String[] types) argument 210 assertAnalyzesToReuse(Analyzer a, String input, String[] output, int startOffsets[], int endOffsets[], String types[], int posIncrements[]) argument 218 assertAnalyzesToReuse(Analyzer a, String input, String[] output, String[] types) argument [all...] |
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/analysis/ |
H A D | BaseTokenStreamTestCase.java | 101 public static void assertTokenStreamContents(TokenStream ts, String[] output, int startOffsets[], int endOffsets[], String types[], int posIncrements[], int posLengths[], Integer finalOffset) throws IOException { argument 115 if (types != null) { 151 if (types != null) 152 assertEquals("type "+i, types[i], typeAtt.type()); 192 public static void assertTokenStreamContents(TokenStream ts, String[] output, int startOffsets[], int endOffsets[], String types[], int posIncrements[], Integer finalOffset) throws IOException { argument 193 assertTokenStreamContents(ts, output, startOffsets, endOffsets, types, posIncrements, null, finalOffset); 196 public static void assertTokenStreamContents(TokenStream ts, String[] output, int startOffsets[], int endOffsets[], String types[], int posIncrements[]) throws IOException { argument 197 assertTokenStreamContents(ts, output, startOffsets, endOffsets, types, posIncrements, null, null); 204 public static void assertTokenStreamContents(TokenStream ts, String[] output, String[] types) throws IOException { argument 205 assertTokenStreamContents(ts, output, null, null, types, nul 232 assertAnalyzesTo(Analyzer a, String input, String[] output, int startOffsets[], int endOffsets[], String types[], int posIncrements[]) argument 236 assertAnalyzesTo(Analyzer a, String input, String[] output, int startOffsets[], int endOffsets[], String types[], int posIncrements[], int posLengths[]) argument 244 assertAnalyzesTo(Analyzer a, String input, String[] output, String[] types) argument 265 assertAnalyzesToReuse(Analyzer a, String input, String[] output, int startOffsets[], int endOffsets[], String types[], int posIncrements[]) argument 273 assertAnalyzesToReuse(Analyzer a, String input, String[] output, String[] types) argument [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/shingle/ |
H A D | ShingleFilterTest.java | 1065 int[] positionIncrements, String[] types, 1071 shingleFilterTestCommon(filter, tokensToCompare, positionIncrements, types); 1076 String[] types, boolean outputUnigrams) 1081 shingleFilterTestCommon(filter, tokensToCompare, positionIncrements, types); 1086 String[] types, boolean outputUnigrams, 1093 shingleFilterTestCommon(filter, tokensToCompare, positionIncrements, types); 1098 String[] types, boolean outputUnigrams) 1104 shingleFilterTestCommon(filter, tokensToCompare, positionIncrements, types); 1110 String[] types) 1122 assertTokenStreamContents(filter, text, startOffsets, endOffsets, types, positionIncrement 1064 shingleFilterTest(int maxSize, Token[] tokensToShingle, Token[] tokensToCompare, int[] positionIncrements, String[] types, boolean outputUnigrams) argument 1074 shingleFilterTest(int minSize, int maxSize, Token[] tokensToShingle, Token[] tokensToCompare, int[] positionIncrements, String[] types, boolean outputUnigrams) argument 1084 shingleFilterTest(int minSize, int maxSize, Token[] tokensToShingle, Token[] tokensToCompare, int[] positionIncrements, String[] types, boolean outputUnigrams, boolean outputUnigramsIfNoShingles) argument 1096 shingleFilterTest(String tokenSeparator, int minSize, int maxSize, Token[] tokensToShingle, Token[] tokensToCompare, int[] positionIncrements, String[] types, boolean outputUnigrams) argument 1107 shingleFilterTestCommon(ShingleFilter filter, Token[] tokensToCompare, int[] positionIncrements, String[] types) argument [all...] |