public interface QueryInterface extends DicooglePlugin
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<SearchResult> |
query(java.lang.String query,
java.lang.Object... parameters)
Performs a search on the database.
|
disable, enable, getName, getSettings, isEnabled, setSettings
java.lang.Iterable<SearchResult> query(java.lang.String query, java.lang.Object... parameters)
query
- a string describing the query. The underlying plugin is currently free to follow any
query format, but only those based on Lucene with work with the search user interface.parameters
- A variable list of parameters of the query. The plugin can use them to establish
their own API's, which may require more complex data structures (e.g. images).