public final class SearchTerm extends PhraseTerm
Phrase.Parameterannotations, endOffset, startOffsetparameters| Constructor and Description |
|---|
SearchTerm()
Constructor.
|
SearchTerm(String text)
Constructor.
|
SearchTerm(String text,
int startOffset,
int endOffset)
Constructor.
|
SearchTerm(String text,
TokenAnnotation... annotation)
Constructor.
|
SearchTerm(String text,
TokenAnnotation annotation)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SearchTerm |
clone() |
boolean |
equals(Object other) |
String |
getText() |
int |
hashCode() |
boolean |
isSurfaceTerm() |
void |
setText(String value) |
static String |
toSearchTerm(Object value) |
void |
toString(StringBuilder buffer,
boolean compact)
Appends the string representation of this query to
buffer. |
static SearchTerm |
valueOf(Object value)
Return the SearchTerm representation of an arbitrary
value. |
containsAnnotation, containsParameters, getAnnotations, getEndOffset, getStartOffset, offsetGap, rewriteChildren, setAnnotation, setAnnotations, setEndOffset, setParameter, setStartOffset, unsetAnnotationcontainsParameters, copyParameters, getBoost, getParameter, getParameter, getParameter, getParameter, getParameterInternal, isMatchAll, parameters, parseIntParameter, removeParameter, rewrite, setBoost, setParameters, toArray, toString, toStringpublic SearchTerm()
public SearchTerm(String text)
public SearchTerm(String text, int startOffset, int endOffset)
public SearchTerm(String text, TokenAnnotation annotation)
public SearchTerm(String text, TokenAnnotation... annotation)
public String getText()
public void setText(String value)
public boolean isSurfaceTerm()
public int hashCode()
hashCode in class PhraseTermpublic boolean equals(Object other)
equals in class PhraseTermpublic SearchTerm clone()
public void toString(StringBuilder buffer, boolean compact)
buffer.public static SearchTerm valueOf(Object value)
value.Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.