/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/analysis/ |
H A D | TestMockAnalyzer.java | 26 Analyzer a = new MockAnalyzer(random); 37 Analyzer a = new MockAnalyzer(random, MockTokenizer.SIMPLE, true); 48 Analyzer a = new MockAnalyzer(random, MockTokenizer.KEYWORD, false); 59 Analyzer a = new MockAnalyzer(random, MockTokenizer.SIMPLE, true, (CharArraySet) StopAnalyzer.ENGLISH_STOP_WORDS_SET, true); 65 a = new MockAnalyzer(random, MockTokenizer.SIMPLE, true, (CharArraySet) StopAnalyzer.ENGLISH_STOP_WORDS_SET, false); 74 Analyzer analyzer = new MockAnalyzer(random); 88 checkRandomData(random, new MockAnalyzer(random), atLeast(1000));
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/analysis/ |
H A D | TestMockAnalyzer.java | 28 Analyzer a = new MockAnalyzer(random); 39 Analyzer a = new MockAnalyzer(random, MockTokenizer.SIMPLE, true); 50 Analyzer a = new MockAnalyzer(random, MockTokenizer.KEYWORD, false); 61 Analyzer a = new MockAnalyzer(random, MockTokenizer.SIMPLE, true, (CharArraySet) StopAnalyzer.ENGLISH_STOP_WORDS_SET, true); 67 a = new MockAnalyzer(random, MockTokenizer.SIMPLE, true, (CharArraySet) StopAnalyzer.ENGLISH_STOP_WORDS_SET, false); 76 Analyzer analyzer = new MockAnalyzer(random); 90 checkRandomData(random, new MockAnalyzer(random), atLeast(1000)); 99 MockAnalyzer analyzer = new MockAnalyzer(random);
|
H A D | TestDuelingAnalyzers.java | 24 import org.apache.lucene.analysis.MockAnalyzer; 44 Analyzer left = new MockAnalyzer(random, MockTokenizer.SIMPLE, false); 62 MockAnalyzer left = new MockAnalyzer(random, MockTokenizer.SIMPLE, false); 80 Analyzer left = new MockAnalyzer(random, MockTokenizer.SIMPLE, false); 97 MockAnalyzer left = new MockAnalyzer(random, MockTokenizer.SIMPLE, false); 115 Analyzer left = new MockAnalyzer(random, MockTokenizer.SIMPLE, false); 132 MockAnalyzer left = new MockAnalyzer(rando [all...] |
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestNewestSegment.java | 20 import org.apache.lucene.analysis.MockAnalyzer; 28 IndexWriter writer = new IndexWriter(directory, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
|
H A D | TestIndexWriterMergePolicy.java | 22 import org.apache.lucene.analysis.MockAnalyzer; 37 TEST_VERSION_CURRENT, new MockAnalyzer(random)) 54 TEST_VERSION_CURRENT, new MockAnalyzer(random)) 79 TEST_VERSION_CURRENT, new MockAnalyzer(random)) 89 new MockAnalyzer(random)).setOpenMode( 105 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)). 136 TEST_VERSION_CURRENT, new MockAnalyzer(random)) 150 new MockAnalyzer(random)).setOpenMode( 159 new MockAnalyzer(random)).setOpenMode( 188 TEST_VERSION_CURRENT, new MockAnalyzer(rando [all...] |
H A D | TestParallelReaderEmptyIndex.java | 25 import org.apache.lucene.analysis.MockAnalyzer; 47 IndexWriter iw = new IndexWriter(rd1, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random))); 54 IndexWriter iwOut = new IndexWriter(rdOut, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random))); 77 IndexWriter iw = new IndexWriter(rd1, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random))); 91 iw = new IndexWriter(rd1, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND)); 98 IndexWriter iw = new IndexWriter(rd2, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random))); 106 IndexWriter iwOut = new IndexWriter(rdOut, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
|
H A D | TestSegmentTermEnum.java | 23 import org.apache.lucene.analysis.MockAnalyzer; 49 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random))); 65 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND)); 75 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)));
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestNewestSegment.java | 20 import org.apache.lucene.analysis.MockAnalyzer; 28 IndexWriter writer = new IndexWriter(directory, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
|
H A D | TestIndexWriterMergePolicy.java | 22 import org.apache.lucene.analysis.MockAnalyzer; 37 TEST_VERSION_CURRENT, new MockAnalyzer(random)) 54 TEST_VERSION_CURRENT, new MockAnalyzer(random)) 79 TEST_VERSION_CURRENT, new MockAnalyzer(random)) 89 new MockAnalyzer(random)).setOpenMode( 105 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)). 136 TEST_VERSION_CURRENT, new MockAnalyzer(random)) 150 new MockAnalyzer(random)).setOpenMode( 159 new MockAnalyzer(random)).setOpenMode( 188 TEST_VERSION_CURRENT, new MockAnalyzer(rando [all...] |
H A D | TestParallelReaderEmptyIndex.java | 25 import org.apache.lucene.analysis.MockAnalyzer; 47 IndexWriter iw = new IndexWriter(rd1, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random))); 54 IndexWriter iwOut = new IndexWriter(rdOut, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random))); 77 IndexWriter iw = new IndexWriter(rd1, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random))); 91 iw = new IndexWriter(rd1, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND)); 98 IndexWriter iw = new IndexWriter(rd2, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random))); 106 IndexWriter iwOut = new IndexWriter(rdOut, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)));
|
H A D | TestSegmentTermEnum.java | 23 import org.apache.lucene.analysis.MockAnalyzer; 49 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random))); 65 writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND)); 75 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)));
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/queryParser/ |
H A D | TestQueryParser.java | 21 import org.apache.lucene.analysis.MockAnalyzer; 31 a = new MockAnalyzer(random, MockTokenizer.SIMPLE, true);
|
H A D | TestMultiFieldQueryParser.java | 26 import org.apache.lucene.analysis.MockAnalyzer; 73 MultiFieldQueryParser mfqp = new MultiFieldQueryParser(TEST_VERSION_CURRENT, fields, new MockAnalyzer(random)); 136 MultiFieldQueryParser mfqp = new MultiFieldQueryParser(TEST_VERSION_CURRENT, fields, new MockAnalyzer(random), boosts); 162 Query q = MultiFieldQueryParser.parse(TEST_VERSION_CURRENT, queries, fields, new MockAnalyzer(random)); 166 q = MultiFieldQueryParser.parse(TEST_VERSION_CURRENT, queries2, fields, new MockAnalyzer(random)); 170 q = MultiFieldQueryParser.parse(TEST_VERSION_CURRENT, queries3, fields, new MockAnalyzer(random)); 174 q = MultiFieldQueryParser.parse(TEST_VERSION_CURRENT, queries4, fields, new MockAnalyzer(random)); 179 q = MultiFieldQueryParser.parse(TEST_VERSION_CURRENT, queries5, fields, new MockAnalyzer(random)); 201 Query q = MultiFieldQueryParser.parse(TEST_VERSION_CURRENT, "one", fields, flags, new MockAnalyzer(random)); 204 q = MultiFieldQueryParser.parse(TEST_VERSION_CURRENT, "one two", fields, flags, new MockAnalyzer(rando [all...] |
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/queryParser/ |
H A D | TestQueryParser.java | 21 import org.apache.lucene.analysis.MockAnalyzer; 31 a = new MockAnalyzer(random, MockTokenizer.SIMPLE, true);
|
H A D | TestMultiFieldQueryParser.java | 26 import org.apache.lucene.analysis.MockAnalyzer; 73 MultiFieldQueryParser mfqp = new MultiFieldQueryParser(TEST_VERSION_CURRENT, fields, new MockAnalyzer(random)); 136 MultiFieldQueryParser mfqp = new MultiFieldQueryParser(TEST_VERSION_CURRENT, fields, new MockAnalyzer(random), boosts); 162 Query q = MultiFieldQueryParser.parse(TEST_VERSION_CURRENT, queries, fields, new MockAnalyzer(random)); 166 q = MultiFieldQueryParser.parse(TEST_VERSION_CURRENT, queries2, fields, new MockAnalyzer(random)); 170 q = MultiFieldQueryParser.parse(TEST_VERSION_CURRENT, queries3, fields, new MockAnalyzer(random)); 174 q = MultiFieldQueryParser.parse(TEST_VERSION_CURRENT, queries4, fields, new MockAnalyzer(random)); 179 q = MultiFieldQueryParser.parse(TEST_VERSION_CURRENT, queries5, fields, new MockAnalyzer(random)); 201 Query q = MultiFieldQueryParser.parse(TEST_VERSION_CURRENT, "one", fields, flags, new MockAnalyzer(random)); 204 q = MultiFieldQueryParser.parse(TEST_VERSION_CURRENT, "one two", fields, flags, new MockAnalyzer(rando [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/shingle/ |
H A D | ShingleAnalyzerWrapperTest.java | 25 import org.apache.lucene.analysis.MockAnalyzer; 108 (new MockAnalyzer(random, MockTokenizer.WHITESPACE, false), 2), 119 (new MockAnalyzer(random, MockTokenizer.WHITESPACE, false), 2), 130 (new MockAnalyzer(random, MockTokenizer.WHITESPACE, false), 2), 141 (new MockAnalyzer(random, MockTokenizer.WHITESPACE, false), 2), 151 Analyzer analyzer = new ShingleAnalyzerWrapper(new MockAnalyzer(random, MockTokenizer.WHITESPACE, false), 2); 181 Analyzer analyzer = new ShingleAnalyzerWrapper(new MockAnalyzer(random, MockTokenizer.WHITESPACE, false), 2); 205 Analyzer a = new ShingleAnalyzerWrapper(new MockAnalyzer(random, MockTokenizer.WHITESPACE, false), 2); 254 = new ShingleAnalyzerWrapper(new MockAnalyzer(random, MockTokenizer.WHITESPACE, false), 3, 4); 267 new MockAnalyzer(rando [all...] |
/lucene-3.6.0/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/ |
H A D | TestMultiFieldQPHelper.java | 25 import org.apache.lucene.analysis.MockAnalyzer; 83 mfqp.setAnalyzer(new MockAnalyzer(random)); 153 mfqp.setAnalyzer(new MockAnalyzer(random)); 181 Query q = QueryParserUtil.parse(queries, fields, new MockAnalyzer(random)); 185 q = QueryParserUtil.parse(queries2, fields, new MockAnalyzer(random)); 189 q = QueryParserUtil.parse(queries3, fields, new MockAnalyzer(random)); 193 q = QueryParserUtil.parse(queries4, fields, new MockAnalyzer(random)); 198 q = QueryParserUtil.parse(queries5, fields, new MockAnalyzer(random)); 222 new MockAnalyzer(random)); 225 q = QueryParserUtil.parse("one two", fields, flags, new MockAnalyzer(rando [all...] |
/lucene-3.6.0/lucene/contrib/instantiated/src/test/org/apache/lucene/store/instantiated/ |
H A D | TestMultiSegmentReaderOnConstructor.java | 20 import org.apache.lucene.analysis.MockAnalyzer; 37 IndexWriter iw = new IndexWriter(dir, new IndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random))); 42 iw = new IndexWriter(dir, new IndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND)); 47 iw = new IndexWriter(dir, new IndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND));
|
H A D | TestUnoptimizedReaderOnConstructor.java | 26 import org.apache.lucene.analysis.MockAnalyzer; 37 IndexWriter iw = new IndexWriter(dir, new IndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random))); 42 iw = new IndexWriter(dir, new IndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND)); 47 iw = new IndexWriter(dir, new IndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setOpenMode(OpenMode.APPEND));
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/synonym/ |
H A D | TestSolrSynonymParser.java | 26 import org.apache.lucene.analysis.MockAnalyzer; 47 SolrSynonymParser parser = new SolrSynonymParser(true, true, new MockAnalyzer(random)); 80 SolrSynonymParser parser = new SolrSynonymParser(true, true, new MockAnalyzer(random)); 88 SolrSynonymParser parser = new SolrSynonymParser(true, true, new MockAnalyzer(random, MockTokenizer.SIMPLE, false)); 96 SolrSynonymParser parser = new SolrSynonymParser(true, true, new MockAnalyzer(random, MockTokenizer.SIMPLE, false)); 121 SolrSynonymParser parser = new SolrSynonymParser(true, true, new MockAnalyzer(random, MockTokenizer.KEYWORD, false));
|
/lucene-3.6.0/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/ |
H A D | SingleFieldTestDb.java | 26 import org.apache.lucene.analysis.MockAnalyzer; 44 new MockAnalyzer(random)));
|
/lucene-3.6.0/lucene/contrib/spellchecker/src/test/org/apache/lucene/search/suggest/ |
H A D | TestHighFrequencyDictionary.java | 20 import org.apache.lucene.analysis.MockAnalyzer; 32 IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)));
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/ |
H A D | TestNot.java | 26 import org.apache.lucene.analysis.MockAnalyzer; 49 QueryParser parser = new QueryParser(TEST_VERSION_CURRENT, "field", new MockAnalyzer(random));
|
H A D | TestQueryTermVector.java | 21 import org.apache.lucene.analysis.MockAnalyzer; 39 result = new QueryTermVector("foo bar foo again foo bar go go go", new MockAnalyzer(random));
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/ |
H A D | TestNot.java | 26 import org.apache.lucene.analysis.MockAnalyzer; 49 QueryParser parser = new QueryParser(TEST_VERSION_CURRENT, "field", new MockAnalyzer(random));
|