|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.egothor.core.query.Runner
org.egothor.query.runner.NotRunner
org.egothor.query.runner.enhanced.NotRunner
public class NotRunner
This object represents a binary form of a NOT b
formula.
This Runner is used when the user wished to exclude a term from
documents returned as hits. For example, the user might wish to find
documents where the search terms BASS but NOT GUITAR are used. The form
of this query would be given as:
BASS -GUITAR.
Field Summary |
---|
Fields inherited from class org.egothor.query.runner.NotRunner |
---|
a, b |
Constructor Summary | |
---|---|
NotRunner(int model,
Runner a,
Runner b)
Constructor for the NotRunner object. |
Method Summary | |
---|---|
int |
evaluate(long uid)
Return the calculated similarity. |
Methods inherited from class org.egothor.query.runner.NotRunner |
---|
invalidReason, terms |
Methods inherited from class org.egothor.core.query.Runner |
---|
run |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NotRunner(int model, Runner a, Runner b)
model
- Description of the Parametera
- the Runner for the first termb
- the Runner for the second termMethod Detail |
---|
public int evaluate(long uid)
evaluate
in class NotRunner
uid
- the document searched
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |