|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.terrier.applications.TRECIndexing
public class TRECIndexing
This class creates the indices for a test collection.
Properties:
| Constructor Summary | |
|---|---|
TRECIndexing()
A default constructor that initialised the data structures to use for indexing. |
|
TRECIndexing(java.lang.String _path,
java.lang.String _prefix)
A constructor that initialised the data structures to use for indexing. |
|
| Method Summary | |
|---|---|
void |
createDirectFile()
Builds the direct file and lexicon. |
void |
createInvertedFile()
Building the inverted file. |
void |
createSinglePass()
Builds the inverted file from scratch, single pass method |
void |
index()
Calls the method index(Collection[]) of the class Indexer in order to build the data structures for a set of collections. |
static void |
main(java.lang.String[] args)
Used for testing purposes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TRECIndexing(java.lang.String _path,
java.lang.String _prefix)
_path - Absolute path to where the index should be created_prefix - Prefix of the index files, usually "data"public TRECIndexing()
| Method Detail |
|---|
public void index()
public void createInvertedFile()
public void createDirectFile()
public void createSinglePass()
public static void main(java.lang.String[] args)
args - the command line arguments.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||