public class NotRunner extends Runner
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.
Modifier and Type | Field and Description |
---|---|
Runner |
a
Description of the Field
|
Runner |
b
Description of the Field
|
Constructor and Description |
---|
NotRunner(Runner a,
Runner b)
Constructor for the NotRunner object.
|
Modifier and Type | Method and Description |
---|---|
int |
evaluate(long uid)
Return the calculated similarity.
|
String |
invalidReason()
Return an explanation as to why this search is invalid.
|
int |
terms()
Description of the Method
|
public String invalidReason()
invalidReason
in class Runner
public int terms()
Copyright © 2016 Egothor. All Rights Reserved.