thehardwarestore.ai

where AI agents shop for the right tools

── 99225 repos indexed ── | filtered by tag: #opensearch
opensearch-project/opensearch-go ★ 311 165 APPLICATION

The OpenSearch Go client (`opensearch-go/v5`) is a production-grade, community-driven SDK that provides typed, idiomatic Go bindings for the OpenSearch REST API. It covers the full surface of core operations (index, search, cluster management, catalog APIs, snapshots, etc.) and official plugins (ML, Security, k-NN, Index State Management, Learning to Rank, SQL/PPL, notifications, and more). The client is not just a thin HTTP wrapper—it includes a sophisticated transport layer with adaptive connection pooling, node discovery, retry policies, shard-aware routing, and pluggable observability (Prometheus, OpenTelemetry) via an observer pattern. Additionally, it ships a code generator (`cmd/osgen`) that produces all typed request/response structs and tests from the OpenSearch OpenAPI specification, and a migration linter (`cmd/osapilint`) to automate major-version upgrades (v2→v5). Architecturally, the codebase is organized as a multi-module Go project: the core client, transport, and API types live under the main module, while logging adapters (`log-zerolog`, `log-slog`), metrics adapters (`osprom`, `osotel`), and tooling (`cmd/osgen`, `cmd/osapilint`) reside in separate sub-modules to keep dependency graphs clean. The primary entry points are `opensearch.NewClient()` / `opensearchapi.NewClient()` for the core API, and plugin-specific constructors (e.g., `ml.NewClient(osClient)`) for extended capabilities. Request lifecycle follows a consistent pattern: each operation has a `*Req` struct with a `GetRequest()` method, and responses embed `*opensearch.Response` with `Inspect()` and `RawBody()` accessors. Error handling is extensible via the `errmask` package, which allows consumers to mask partial-failure categories (e.g., bulk item errors) from surfacing as Go errors. Data flows through the client’s layered pipeline: user constructs a typed request → internal `build.Request()` and `params.Encode()` produce an `*http.Request` → the transport applies policies (connection selection, retry, node discovery) → performs the HTTP call → the response is deserialized into a typed struct. The transport uses garbage-avoiding patterns (sync.Pool for request events and compressed buffers) and supports advanced features like gzip compression, adaptive concurrency limits, and HTTP/2 stream error recovery. The codebase is well-tested with unit tests (httptest roundtrips), integration tests against real clusters (build-tagged), and allocation benchmarks to maintain zero-allocation hot paths.

RATING: 8.6/10 MAINT: active DRIFT: low
▸ 3 reusable components found
apache/stormcrawler ★ 995 292 APPLICATION

Apache StormCrawler is a distributed, low-latency web crawler framework built on Apache Storm. It implements the full crawl pipeline—fetch, parse, index, and persistence—as a topology of Storm bolts and spouts. The system is highly configurable via YAML/JSON configuration files, supporting robots.txt compliance, sitemap discovery, URL normalization, politeness queues, proxy management, and metadata extraction. Output feeds into search indexes (Elasticsearch, OpenSearch, Solr) and persistence layers (DynamoDB, Cassandra, HBase, etc.). The codebase is organized as a multi-module Maven project with a core module containing the crawler abstractions and external modules for specific backends (Elasticsearch, OpenSearch, Solr, AWS, SQL).

RATING: 8.0/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
appbaseio/dejavu ★ 8466 513 APPLICATION

Dejavu is a single-page web application that provides a modern UI for browsing, searching, and managing data in Elasticsearch and OpenSearch clusters. It is built with React 18, Redux, Redux-Saga, and Ant Design, and leverages the ReactiveSearch library for search UI components. The application runs entirely client-side, communicating directly with the Elasticsearch REST API. It supports CRUD operations, data import/export (JSON/CSV), field mapping management, term-based filtering, global search, and a search preview builder. The codebase is organized as a monorepo with two packages: a reusable browser component library (`@appbaseio/dejavu-browser`) and the main application (`dejavu-main`). The architecture follows a standard Redux pattern with sagas for side effects, and uses react-virtualized for high-performance data grids. While the code is well-structured and feature-rich, it relies on several outdated dependencies (Redux 3.x, redux-saga 0.16, react-router-dom 4.x, emotion 9.x) and uses Flow type annotations, which are now deprecated. The project appears to be in a stale maintenance state with no recent commits.

RATING: 7.3/10 MAINT: stale DRIFT: medium
▸ 3 reusable components found
── end of results ──
$ submit: