|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.labs.minion.retrieval.QueryElement com.sun.labs.minion.retrieval.Operator com.sun.labs.minion.retrieval.Proximity com.sun.labs.minion.retrieval.Near com.sun.labs.minion.retrieval.Within
public class Within
The WITHIN query operator. Takes a window size and a number of operands and finds documents that contain all of the operands within the given window size.
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 | |
---|---|
Within(java.util.List operands)
Creates a within operator with a default window size of 1000 words. |
|
Within(java.util.List operands,
int size)
Creates a within operator. |
Method Summary |
---|
Methods inherited from class com.sun.labs.minion.retrieval.Near |
---|
calculateEstimatedSize, eval, toStringMod |
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 |
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 Within(java.util.List operands)
operands
- the list of operands for the operatorpublic Within(java.util.List operands, int size)
operands
- the list of operands for the operatorsize
- the maximum window size in which the operands must occur
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |