|
Terrier IR Platform 1.1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.gla.terrier.indexing.Indexer
public abstract class Indexer
Properties:
Constructor Summary | |
---|---|
Indexer()
|
|
Indexer(java.lang.String path)
Creates an instance of the class. |
|
Indexer(java.lang.String path,
java.lang.String prefix)
Creates an instance of the class. |
Method Summary | |
---|---|
abstract void |
createDirectIndex(Collection[] collections)
An abstract method for creating the direct index, the document index and the lexicon for the given collections. |
abstract void |
createInvertedIndex()
An abstract method for creating the inverted index, given that the the direct index, the document index and the lexicon have already been created. |
void |
index(Collection[] collections)
Creates the data structures for a set of collections. |
static void |
main(java.lang.String[] args)
|
static void |
merge(java.lang.String mpath,
java.lang.String mprefix,
int lowest,
int highest)
Merge a series of indices |
static void |
merge(java.lang.String mpath,
java.lang.String mprefix,
java.util.LinkedList llist,
int counterMerged)
Merge a series of indices |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Indexer()
public Indexer(java.lang.String path)
path
- String the path where the generated data structures will
be saved.public Indexer(java.lang.String path, java.lang.String prefix)
path
- String the path where the generated data structures will be saved.prefix
- String the filename that the data structures will have.Method Detail |
---|
public abstract void createDirectIndex(Collection[] collections)
collections
- Collection[] An array of collections to indexpublic abstract void createInvertedIndex()
public void index(Collection[] collections)
collections
- The document collection objects to index.public static void merge(java.lang.String mpath, java.lang.String mprefix, int lowest, int highest)
public static void merge(java.lang.String mpath, java.lang.String mprefix, java.util.LinkedList llist, int counterMerged)
public static void main(java.lang.String[] args)
|
Terrier IR Platform 1.1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |