| org.apache.lucene.util.LuceneTestCase org.apache.lucene.TestSearch
TestSearch | public class TestSearch extends LuceneTestCase (Code) | | JUnit adaptation of an older test case SearchTest.
version: $Id: TestSearch.java 583534 2007-10-10 16:46:35Z mikemccand $ |
Method Summary | |
static long | Time(int year, int month, int day) | public static void | main(String args) Main for running test case by itself. | public void | testSearch() This test performs a number of searches. |
Time | static long Time(int year, int month, int day)(Code) | | |
main | public static void main(String args)(Code) | | Main for running test case by itself.
|
testSearch | public void testSearch() throws Exception(Code) | | This test performs a number of searches. It also compares output
of searches using multi-file index segments with single-file
index segments.
TODO: someone should check that the results of the searches are
still correct by adding assert statements. Right now, the test
passes if the results are the same between multi-file and
single-file formats, even if the results are wrong.
|
|
|