search method
- @Deprecated('Use `query(String value)` instead. This method will be deprecated from version ^1.1.0')
- String value
Search (query)
The text to search in the index.
Usage notes:
- If the text is empty or absent, the search will match every object in your index.
- In our documentation, we use the terms query, “query terms”, or “search text” to mean the same thing, namely: the text used to search the index.
- There’s a hard limit of 512 characters per query. If a search query is longer, the API will return an error.
Source: Learn more
Implementation
@Deprecated(
'Use `query(String value)` instead. This method will be deprecated from version ^1.1.0')
AlgoliaQuery search(String value) {
assert(!_parameters.containsKey('search'));
return _copyWithParameters(<String, dynamic>{'query': value});
}