|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A class for an IR datatype.
| Method Summary | |
void |
addProbRules(Index index,
java.lang.String queryID,
java.lang.String subqueryID,
java.lang.String operator,
java.util.List addList)
Adds rules for computing probabilities of relevance to the list. |
void |
addRSVRules(Index index,
java.lang.String queryID,
java.lang.String subqueryID,
java.lang.String operator,
double weight,
java.lang.Object value,
java.util.List addList)
Adds rules for evaluating the specified query condition to the specified list. |
void |
addToIndex(Index index,
java.lang.String docID,
java.lang.String operator,
java.lang.Object value)
Add the document content of the specified index. |
void |
computeIndex(Index index,
java.lang.String operator)
Computes the indexing weights for the specified index and the operator. |
java.lang.String |
convertOperator(java.lang.String operator)
Converts the operator name into an identifier. |
java.util.Iterator |
getIndexTokens(Index index,
java.lang.String operator)
Returns an iterator over all tokens for whom the indexing weight moments have to be computed. |
void |
removeIndex(Index index,
java.lang.String operator)
Removes the datatype/operator specific relations from the specified index. |
boolean |
storedRSVs(java.lang.String operator)
Tests whether the RSVs are already stored in the weight
table, or if they are computed from outside.
|
| Method Detail |
public java.lang.String convertOperator(java.lang.String operator)
operator - search operator name
public void addToIndex(Index index,
java.lang.String docID,
java.lang.String operator,
java.lang.Object value)
The specified value is applied to the filter corresponding to the
operator filter, and the resulting tokens are added to the
tf relation (together with the document id and the
frequency of the token).
index - underlying indexdocID - document idoperator - search operator namevalue - attribute value
public void computeIndex(Index index,
java.lang.String operator)
The indexing weights are computed based on the tf
relation.
index - underlying indexoperator - search operator name
public java.util.Iterator getIndexTokens(Index index,
java.lang.String operator)
index - underlying indexoperator - search operator name
public void removeIndex(Index index,
java.lang.String operator)
index - underlying indexoperator - search operator namepublic boolean storedRSVs(java.lang.String operator)
weight
table, or if they are computed from outside.
TODO: why do we need that?
operator - search operator name
public void addRSVRules(Index index,
java.lang.String queryID,
java.lang.String subqueryID,
java.lang.String operator,
double weight,
java.lang.Object value,
java.util.List addList)
index - underlying indexqueryID - query idsubqueryID - subquery idoperator - search operator nameweight - condition weightvalue - comparison valueaddList - list to where the condition rules have to be added
public void addProbRules(Index index,
java.lang.String queryID,
java.lang.String subqueryID,
java.lang.String operator,
java.util.List addList)
index - underlying indexqueryID - query idsubqueryID - subquery idoperator - search operator nameaddList - list to which rules can be appended
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||