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

outdated

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

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
0
pub points
86%
popularity

Publisher

verified publisheragilord.com

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http, http_client, meta

More

Packages that depend on elastic_client