|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.labs.minion.retrieval.QueryElement
com.sun.labs.minion.retrieval.Operator
com.sun.labs.minion.retrieval.Proximity
com.sun.labs.minion.retrieval.Passage
public class Passage
A class implementing the <passage> operator.
| Field Summary |
|---|
| Fields inherited from class com.sun.labs.minion.retrieval.Proximity |
|---|
gapPenalty, logTag, maxMissing, maxWindow, minWindow, ocTerms, oooPenalty, orderedOps, storePassages, terms |
| Fields inherited from class com.sun.labs.minion.retrieval.Operator |
|---|
operands |
| Fields inherited from class com.sun.labs.minion.retrieval.QueryElement |
|---|
estSize, fieldMultipliers, inOrder, keepPositions, order, part, qc, qs, searchFieldNames, searchFields, strictEval, wc, wf |
| Constructor Summary | |
|---|---|
Passage(java.util.List operands)
Creates a passage operator for the given operands. |
|
| Method Summary | |
|---|---|
protected int |
calculateEstimatedSize()
Estimates the size of the results set. |
ArrayGroup |
eval(ArrayGroup ag)
Evaluates this passage operator, returning the results. |
ArrayGroup |
eval(int doc)
Evaluates this passage operator for a particular document, returning the passages found in that particular document. |
| Methods inherited from class com.sun.labs.minion.retrieval.Proximity |
|---|
arrayCopy, calcPenalty, checkPositions, evalTerms, printCols, setGap, setOOO, setStorePassages, setWindow |
| Methods inherited from class com.sun.labs.minion.retrieval.Operator |
|---|
addSearchFieldName, getOperands, getQueryTerms, setOperands, setPartition, setQueryConfig, setWeightingComponents, setWeightingFunction, toString, toString, toStringMod |
| Methods inherited from class com.sun.labs.minion.retrieval.QueryElement |
|---|
compareTo, dump, estimateSize, getInOrder, getOrder, getQueryStats, getQueryTerms, getSearchFieldNames, setInOrder, setOrder, setQueryStats, setSearchFields |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Passage(java.util.List operands)
| Method Detail |
|---|
protected int calculateEstimatedSize()
calculateEstimatedSize in class QueryElementpublic ArrayGroup eval(ArrayGroup ag)
eval in class QueryElementpublic ArrayGroup eval(int doc)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||