public static class FullTextSearch.Disjunction extends FullTextSearch.CompoundTerm
FullTextSearch.Terms that are ORed together.| Constructor and Description |
|---|
FullTextSearch.Disjunction(List<FullTextSearch.Term> terms)
Create a disjunction of the supplied terms.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(String value)
Checks if the term matches (from a FTS perspective) the given value.
|
String |
toString() |
public FullTextSearch.Disjunction(List<FullTextSearch.Term> terms)
terms - the terms to be ORed together; may not be null or emptypublic boolean matches(String value)
FullTextSearch.Termvalue - a non-null stringtrue if the term matches the value, false otherwiseCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.