searchbase library

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 and next values.
GenerateQueryResponse
Represents the format of query response
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
SearchBase
The SearchBase class holds the state for all the active SearchWidgets and can be used to provide the global configuration to the registered SearchWidgets. [...]
SearchWidget
The SearchWidget class represents a search widget that can be used to build different kinds of search UI for examples, [...]
Suggestion
Represents a suggestion object

Extensions

QueryTypeExtension
SortTypeExtension

Constants

DataFieldAsArray → const String
'dataFieldAsArray'
ErrorMessages → const Map
const {InvalidIndex : 'SearchBase: Please provide a valid index.', InvalidURL : 'SearchBase: Please provide a valid url.', InvalidCredentials : 'SearchBase: Please provide valid cr…
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(Map<String, Changes> change) → dynamic
TransformRequest(Map requestOptions) Future<Object>
TransformResponse(dynamic response) Future