R
- results type, e.g. Hitspublic interface Search<R extends SearchResult>
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
R |
execute()
Execute the search operation, returning the final response.
|
Future<R> |
executeAsync()
Execute the search operation asynchronously.
|
default boolean |
fetchAllResults()
Should we fetch all results in the cache thread?
Normally, the cache thread just makes sure the results instance exists,
but doesn't explicitly fetch any results.
|
int |
hashCode() |
default void |
log(LogLevel level,
String msg)
Log details about the search's execution.
|
QueryInfo |
queryInfo() |
String |
toString() |
R execute() throws InvalidQuery
InvalidQuery
Future<R> executeAsync()
QueryInfo queryInfo()
default boolean fetchAllResults()
Copyright © 2020 Instituut voor Nederlandse Taal (INT). All rights reserved.