elastic_client 0.3.1 elastic_client: ^0.3.1 copied to clipboard
Dart bindings for ElasticSearch HTTP API. ElasticSearch is a full-text search engine based on Lucene.
0.3.1 #
0.3.0 #
- Updated dependency, finalizing release.
0.3.0-null-safety.1 #
- Migrated to null safety.
0.2.2 #
SearchResult.hits
has a separateHit
type, extendingDoc
for backwards compatibility.Client.search
andIndex.search
:- highlighting support with
HighlightOptions
,HighlightField
trackTotalHits
to optionally disable calculating the total hit counting- requested
fields
are returned separately fromsource
- highlighting support with
Query.range
0.2.1 #
Query.queryString
.Client.bulk
andIndex.bulk
support delete and batch size.
0.2.0 #
Breaking changes:
Client
methods updated:- every parameter is a named parameter,
- required parameters are marked as such,
search
: removedfetchSource
parameter, use `source instead,clearScroll
was renamed toclearScrollIds
,scroll
'sscroll
parameter renamed toduration
.
- Removed
ConsoleHttpTransport
, useHttpTransport
instead. - Removed
BasicAuth
, usebasicAuthorization
instead. HttpTransport
changed:- Constructor accepts
client
from bothpackage:http
orpackage:http_client
. - Constructor accepts
url
asString
orUri
. - Constructor accepts
authorization
header as a pass-through value. - Closes HTTP client if and only if there was none provided.
- Constructor accepts
Updates:
Client.clearScrollId
for deleting a single scroll id.TransportException
when we've got unexpected status code from ElasticSearch.Client.index(name: 'index-name')
creates a shortcut to access index-based operations.- Minimal test! yay!
0.1.15 #
- The
type
parameter in the index may be null. (#25 by fabiocarneiro)
0.1.11 #
- Enabled merging documents with
updateDoc
(#19 by jodinathan).
0.1.10 #
- Updated code to latest Dart style guides.
0.1.8 #
Query.prefix
0.1.7 #
- Handle
'hits': {'total': {'value': 1}}}
in the search response format.
0.1.6 #
- Fix HTTP transport: preserve original uri's relative path segments.
0.1.5 #
- Add dynamic
source
param for Client.search() method. This is a replacement for the booleanfetchSource
to allow _source to be a boolean, a string or a list of strings as per the Elasticsearch spec. - Deprecate
fetchSource
param in the Client.search() method. - Support sorting of search results.
0.1.4 #
- Fixed
_mergeHeader
function. - Using
pedantic
analysis options.
0.1.3 #
- Upgrade
http_client
dependency.
0.1.2 #
BasicAuth
option forHttpTransport
.
0.1.1 #
- Support suggest queries.
0.1.0 #
- First public version.