public class OrRunner extends Runner
a OR b
formula.
This Runner is used when a user wishes to query for documents
containing one word or another. For example, the user might wish to
query for documents containing BASS or GUITAR. 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 |
---|
OrRunner(Runner a,
Runner b)
Constructor for the OrRunner 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.