@Exposed public class TextSearch extends java.lang.Object
Performs a text search to the Hound server given a HoundRequestInfo
and query.
Used the TextSearch.Builder
to construct a text search object.
Modifier and Type | Class and Description |
---|---|
static class |
TextSearch.Builder
The only way to construct a
TextSearch object. |
static class |
TextSearch.Result
The main object returned from
search() . |
static class |
TextSearch.TextSearchException |
Modifier and Type | Method and Description |
---|---|
void |
abort()
Interrupts any ongoing text search.
|
TextSearch.Result |
search()
Performs a text search that runs synchronously.
|
@Exposed public TextSearch.Result search() throws TextSearch.TextSearchException
HoundResponse
itself.TextSearch.TextSearchException
- if any error occurs@Exposed public void abort()