Access a SubIndex with sorted lists. More...
Public Member Functions | |
| SortedSubIndex (BlockStats *stats) | |
| Initialise the SubIndex. | |
| void | sample (int minDocumentCount, int maxDocumentCount) |
| Sample only those lists satisfying the criteria. | |
| void | sample (Word **queryTerms, int uniqueQueryTerms) |
| Sample only those lists satisfying the criteria. | |
| void | nextElement (TRIPLET *subTriple) |
| Extract the next element from the SortedSubIndex. | |
| void | reset (void) |
| Reset the SubIndex. | |
Access a SubIndex with sorted lists.
This class provides a means to access a SubIndex with each list (row) sorted according to their position. The index is stored by sorting lists according to their value; this class reads the list and sorts it before presenting it to the user.
1.6.1