searchbase library Null safety
Classes
- AppbaseSettings
- AppbaseSettings allows you to customize the analytics experience when appbase.io is used as a backend.
- Changes
-
Represents the change object with
prev
andnext
values. - Option
- Allows to configure the effects after executing a query.
- Options
- Allows to configure the effects of an update in a particular property.
- RecentSearchOptions
- Options to configure the recent searches request.
- Results
- Represents the response for QueryType.search, QueryType.geo and QueryType.range type of SearchController.
- SearchBase
- The SearchBase class holds the state for all the active SearchController and can be used to provide the global configuration to the registered SearchController. [...]
- SearchController
- The SearchController class can be used to bind to different kinds of search UI widgets. [...]
- Suggestion
- Represents a suggestion object.
Extensions
Constants
- DataFieldAsArray → const String
-
'dataFieldAsArray'
- ErrorMessages → const Map
-
{InvalidIndex : 'SearchBase: Please provide a valid index.', InvalidURL : 'SearchBase: Please provide a valid url.', InvalidCredentials : 'SearchBase: Please provide valid credenti…
- InvalidComponentId → const String
-
'invalidComponentId'
- InvalidCredentials → const String
-
'invalidCredentials'
- InvalidDataField → const String
-
'invalidDataField'
- InvalidIndex → const String
-
'invalidIndex'
- InvalidURL → const String
-
'invalidURL'
- suggestionQueryID → const String
-
'DataSearch__suggestions'
Enums
- QueryType
-
Represents the type of the query which is defaults to QueryType.search, valid values are
search
,term
,range
&geo
. You can read more here. - RequestStatus
- Represents the current status of the elasticsearch request
- SortType
Typedefs
-
SubscriptionFunction
= dynamic Function(Map<
String, Changes> change) -
TransformRequest
= Future<
Object> Function(Map requestOptions) - TransformResponse = Future Function(dynamic response)