elastic_client 0.3.15 copy "elastic_client: ^0.3.15" to clipboard
elastic_client: ^0.3.15 copied to clipboard

Dart bindings for ElasticSearch HTTP API. ElasticSearch is a full-text search engine based on Lucene.

0.3.15 #

0.3.14 #

0.3.13 #

  • Made the _score field nullable in case it's not returned by the top_hits aggregation result. (#68 by gvisniuc)

0.3.12 #

  • Added Elasticsearch warning response header information to Response (#66 by wapa5pow)
  • Fix deprecated field name: mustNot -> must_not (#65 by swdyh)

0.3.11 #

  • Added support for term enum (#62 by Vi-cs)

0.3.10 #

  • The freq parameter in the suggestion response may be null, returns -1 in such cases. (#61 by Vi-cs)

0.3.9 #

0.3.8 #

  • Support query parameter on Client.count method. (#55 by sota1235)

0.3.7 #

0.3.6 #

0.3.5 #

  • Added the very basics of Function score query to Query with the function functionScore. (#50 by Cronos87)

0.3.4 #

  • Client.minScore and Index.minScore:
    • Added method to filter results using a minimum score. (#49 by Cronos87).
  • Added missing size property in Index. (#49 by Cronos87).

0.3.3 #

0.3.2 #

  • Client.count and Index.count:
    • Added method to count the total items of an index. (#46 by Cronos87).

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 separate Hit type, extending Doc for backwards compatibility.
  • Client.search and Index.search:
    • highlighting support with HighlightOptions, HighlightField
    • trackTotalHits to optionally disable calculating the total hit counting
    • requested fields are returned separately from source
  • Query.range

0.2.1 #

  • Query.queryString.
  • Client.bulk and Index.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: removed fetchSource parameter, use `source instead,
    • clearScroll was renamed to clearScrollIds,
    • scroll's scroll parameter renamed to duration.
  • Removed ConsoleHttpTransport, use HttpTransport instead.
  • Removed BasicAuth, use basicAuthorization instead.
  • HttpTransport changed:
    • Constructor accepts client from both package:http or package:http_client.
    • Constructor accepts url as String or Uri.
    • Constructor accepts authorization header as a pass-through value.
    • Closes HTTP client if and only if there was none provided.

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 #

0.1.14 #

0.1.13 #

0.1.12 #

0.1.11 #

0.1.10 #

  • Updated code to latest Dart style guides.

0.1.9 #

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 boolean fetchSource 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 for HttpTransport.

0.1.1 #

  • Support suggest queries.

0.1.0 #

  • First public version.
43
likes
150
points
16.2k
downloads

Publisher

verified publisheragilord.com

Weekly Downloads

Dart bindings for ElasticSearch HTTP API. ElasticSearch is a full-text search engine based on Lucene.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

http, http_client, meta

More

Packages that depend on elastic_client