public class TRECIndexing extends Object
Properties:
Constructor and Description |
---|
TRECIndexing()
A default constructor that initialised the data structures
to use for indexing.
|
TRECIndexing(String _path,
String _prefix)
A constructor that initialised the data structures
to use for indexing.
|
Modifier and Type | Method and Description |
---|---|
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(String[] args)
Used for testing purposes.
|
public TRECIndexing(String _path, String _prefix)
_path
- Absolute path to where the index should be created_prefix
- Prefix of the index files, usually "data"public TRECIndexing()
public void index()
public void createInvertedFile()
public void createDirectFile()
public void createSinglePass()
public static void main(String[] args)
args
- the command line arguments.Terrier 4.0. Copyright © 2004-2014 University of Glasgow