|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Interface Summary | |
|---|---|
| TupleFilter | Applies filter functions to sets of entries. |
| Class Summary | |
|---|---|
| ANDTupleFilter | Applies the AND filter function to two input tuples. |
| DeletionTest | Regression test to check that files are deleted from the index. |
| DVPostingsTester | Class DVPostingsTester compares the DocumentVectorPostings in the index
with the frequencies of terms in the main dictionary. This only seems to work for lowercase terms. |
| IndexInverter | Class IndexInverter recreates the list of documents from the index. |
| MPIndexTest | Multi-threaded index and test. |
| ORTupleFilter | Applies the OR filter function to two input tuples. |
| PostTest | A test program that will exercise the postings iterators for a set of partitions. |
| TestUtils | Utility methods for the regression test package. |
| Tuple | A tuple consists of a set of documents that are related to each other because of certain conditions regarding the entrys they have. |
| TupleFactory | Creates tuple objects with documents that contain a certain entry. |
| TupleRelation | A tuple relation describes the relation of the tuple in entrys of a graph. |
Provides the classes that generates the entries and queries for the regression test.
The TestEntrySelector selects entries from the
index to be used in queries.
The TestFieldEntrySelector selects field entries
from the index to be used in queries related to fields.
The QueryFactory takes the entries selected from by
the TestEntrySelector and
TestFieldEntrySelector to create queries for the
regression test.
Currently, the regression test targets are in the build.xml file. This test is based on the javadocs for JDK 1.4.2. To run the test, you must first build the index from the javadocs by typing:
ant index_javadocs
ant create_queries
in this directory. The created queries will be saved in a text file called queries.txt in this directory. Please refer to the documentation in the QueryFactory class for the types of queries that are being generated.
To run the generated queries against the search engine, type:
ant run_queries
All the classes relating to Tuples are not being used at this point. They were intended to figure out how many documents a certain query will return. If we know that, we can tailor our query choices for the regression test to include queries that will return a small, medium, and large number of documents. However, since it will take a long time to compute the number of documents returned for all possible queries, the Tuples stuff is not used at this moment.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||