|
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.structures.trees.FieldDocumentTree
uk.ac.gla.terrier.structures.trees.BlockFieldDocumentTree
public class BlockFieldDocumentTree
A binary tree that is used when indexing with blocks and html information.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class uk.ac.gla.terrier.structures.trees.FieldDocumentTree |
---|
FieldDocumentTree.FDTnodeProcedure |
Constructor Summary | |
---|---|
BlockFieldDocumentTree()
Deprecated. |
Method Summary | |
---|---|
void |
empty()
Deprecated. Empties the tree. |
int |
getNumberOfBlocks()
Deprecated. Returns the number of blocks in the tree. |
void |
insert(java.lang.String newTerm,
int blockId)
Deprecated. Inserts a term with a given block id in the tree. |
void |
insert(java.lang.String newTerm,
int blockId,
java.util.Set<java.lang.String> fields)
Deprecated. Inserts a term with a given block id, in a specified field, in the tree. |
void |
insert(java.lang.String newTerm,
int blockId,
java.lang.String field)
Deprecated. Inserts a term with a given block id, in a specified field, in the tree. |
FieldDocumentTreeNode[] |
toArray()
Deprecated. Returns an array of the term nodes of the tree. |
Methods inherited from class uk.ac.gla.terrier.structures.trees.FieldDocumentTree |
---|
forEachNode, getNumberOfNodes, getNumberOfPointers, insert, insert, insert |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlockFieldDocumentTree()
Method Detail |
---|
public void empty()
empty
in class FieldDocumentTree
public int getNumberOfBlocks()
public void insert(java.lang.String newTerm, int blockId)
newTerm
- the term to insert.blockId
- the block id of the term.public void insert(java.lang.String newTerm, int blockId, java.lang.String field)
newTerm
- the term to insert.blockId
- the block id of the term.field
- the field the term appears inpublic void insert(java.lang.String newTerm, int blockId, java.util.Set<java.lang.String> fields)
newTerm
- the term to insert.blockId
- the block id of the term.fields
- the fields the term appears inpublic FieldDocumentTreeNode[] toArray()
toArray
in class FieldDocumentTree
|
Terrier IR Platform 1.1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |