搜索插件、代码仓与 APP 分类

插件详情v0.3.15

elastic_client

ElasticSearch HTTP API 的 Dart 绑定。ElasticSearch 是一个基于 Lucene 的全文搜索引擎。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
981
喜欢数
43
Pub 分数
150

安装插件

flutter pub add elastic_client

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Elastic_client 为 ElasticSearch HTTP API 提供了 Dart 绑定,使 Flutter 应用能够与 ElasticSearch(一个基于 Lucene 的强大全文搜索引擎)进行交互。它允许开发者直接从其跨平台的 Flutter 应用中执行索引、搜索和管理数据操作。该包通过提供简洁且类型安全的接口,简化了集成过程,适用于常见搜索操作。非常适合需要高级文本搜索、实时分析或文档检索的应用。

适合场景

  • 移动应用中的全文搜索
  • 实时文档索引
  • 搜索建议和自动完成
  • 带有搜索功能的分析仪表板
  • 内容发现功能
  • 日志和数据聚合

主要特点

  • ElasticSearch 的 HTTP API 包装器
  • 跨平台支持(Android、iOS、Web、macOS、Windows、Linux)
  • 类型安全的请求和响应处理
  • 支持复杂查询和聚合
  • 与 Flutter 应用轻松集成
  • 内置的错误处理和重试机制

适合对象

  • 需要强大搜索功能的应用程序
  • 使用 ElasticSearch 后端的开发者
  • 需要可扩展文本搜索的项目
  • 内容丰富的界面的移动应用
  • 构建搜索驱动的用户体验的团队

使用建议

  • 需要一个正在运行的 ElasticSearch 实例
  • 远程搜索需要网络连接
  • 大型数据集可能存在的延迟
  • 需要身份验证和安全配置
  • 不适合离线优先的应用程序

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Dart bindings for ElasticSearch HTTP API.

ElasticSearch is a full-text search engine based on Lucene.

Roadmap

The package's API is expected to change, and feature requests and PRs are welcome.

Please use this issue to discuss new requests for breaking changes.

Planned features:

  • More types in the API (instead of the Map entries).
  • Data types should convert to/from JSON.
  • Fluent APIs (similar to IndexRef).
  • Cluster-aware transport: round-robin, latency-aware, or routing-aware selection of the target node.

所属分类

依赖

依赖清单 3 项

源码仓库

使用此插件的项目

暂无相关数据。