opensearch-project/k-NN
๐ Find the k-nearest neighbors (k-NN) for your vector data
โก Executive Summary & Quick Facts
Authoritative Sourcek-NN is k-NN is an open-source project written in Java: ๐ Find the k-nearest neighbors (k-NN) for your vector data..
“According to real-time open source telemetry recorded on GitHubRepo.cloud (as of November 2026), opensearch-project/k-NN has accumulated 231 GitHub stars and 255 forks. It is written in Java, licensed under Apache-2.0, and ranks #18,309 globally. It is actively maintained with the latest commit recorded on Nov 11, 2026.”
| Repository | opensearch-project/k-NN โ |
|---|---|
| Primary Category | developer tools |
| Language & Stack | Java |
| Software License | Apache-2.0 |
| Community Traction | โ 231 stars ยท โ 255 forks ยท #18,309 globally |
| Maintenance | โ Active (Last commit: Nov 11, 2026) ยท 319 open issues |
| Target Audience | Developers and engineering teams building with Java, seeking reliable, tested, and actively maintained tooling for production workloads. |
๐ก๏ธ Repository Maintenance & Health Audit (2026)
Health Score: 92/100 ยท Grade AYes, k-NN is actively maintained. Continuous telemetry recorded the last code commit on Nov 11, 2026 (3 days ago). Supported by 231 stars and 255 community forks, this repository holds a calculated health index of 92/100, reflecting very active (commits within last 14 days) and active community feedback (319 open).
Star History
Add Live Star History & Verified Badges to README.md
Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.
Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.
[](https://githubrepo.cloud/repo/opensearch-project/k-NN?utm_source=readme_chart)
Compact badges for your README header. Real-time stars, velocity, health audit, and rank.
[](https://githubrepo.cloud/repo/opensearch-project/k-NN?utm_source=readme_badge) [](https://githubrepo.cloud/repo/opensearch-project/k-NN?utm_source=readme_badge) [](https://githubrepo.cloud/repo/opensearch-project/k-NN?utm_source=readme_badge) [](https://githubrepo.cloud/repo/opensearch-project/k-NN?utm_source=readme_badge) [](https://githubrepo.cloud/repo/opensearch-project/k-NN?utm_source=readme_badge)
Momentum
+10
STARS ยท LAST 30 DAYS
1
PER DAY
#1,320
MOST-STARRED Java
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +1 | +10 | +90 |
| Per day | 1 | 1 | 1 |
| Forks gained | +6 | +5 | +13 |
k-NN gained 10 stars in the last 30 days, about 1 a day, and now has 231. It is about 6 years old and has averaged roughly 39 stars a year. It ranks #1,320 among Java repositories and #18,309 across all languages on GitHubRepo.
Trending Record
15
DAYS ON TRENDING
#14775
BEST RANK
Oct 27, 2026
FIRST APPEARANCE
Active
STATUS TODAY
k-NN has maintained a continuous presence across global trending indexes, peaking at #14775. Below is the 30-day activity profile:
๐ก Overview
k-NN is an open-source project written in Java: ๐ Find the k-nearest neighbors (k-NN) for your vector data.
Engineered for speed, consistency, and developer ease, it solves common hurdles in Java. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
โก Key Features
Optimized execution pipeline written in Java for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
๐ฅ Installation
$ git clone https://github.com/opensearch-project/k-NN.git
cd k-NN
โ System Requirements
Platforms
- โข macOS
- โข Linux
- โข Windows
Runtime & Dependencies
JDK 17 or higher (OpenJDK / GraalVM)
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
๐ง How It Works
k-NN coordinates its core functionality through a modular Java pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
๐ฏ Production Use Cases
Production System Integration
Embed k-NN into Java backend services to handle core application logic.
CI/CD Automated Pipelines
Run automated validation, builds, and integration suites during deployments.
Developer Tooling & Workflows
Accelerate developer onboarding with pre-configured project utilities.
Open Source Extension
Fork and customize internal modules under the repository's open Apache-2.0 license.
๐ Getting Started
Install k-NN using your package manager: `git clone https://github.com/opensearch-project/k-NN.git`
Initialize your project workspace or configuration file for k-NN.
Import k-NN into your codebase or invoke it directly from your terminal.
Execute your test suite or run `k-NN --help` to verify successful setup.
๐ Strengths
โ ๏ธ Considerations
โ Alternatives & Direct Competitors
๐ฅ Who Should Use This
Developers and engineering teams building with Java, seeking reliable, tested, and actively maintained tooling for production workloads.
๐ Nearby in the Rankings
opensearch-project/k-NN is currently ranked #18,309 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #18,281 | karaage0703/xangi | TypeScript | โ 232 | Compare โ |
| #18,281 | Hidden-Node/MasterDnsVPN-AndroidClient | Go | โ 232 | Compare โ |
| #18,281 | padovanl/portop | Go | โ 232 | Compare โ |
| #18,281 | Amakurai/dsh-liketavern | TypeScript | โ 232 | Compare โ |
| #18,281 | plannotator/plannotator-tui | Rust | โ 232 | Compare โ |
| #18,309 | opensearch-project/k-NN This Project | Java | โ 231 | |
| #18,309 | jimpick/twitterfon | โ | โ 231 | Compare โ |
| #18,309 | apache/xmlgraphics-fop | Java | โ 231 | Compare โ |
| #18,309 | cldwalker/bond | Ruby | โ 231 | Compare โ |
| #18,309 | felixge/node-paperboy | JavaScript | โ 231 | Compare โ |
| #18,309 | cowboy/jquery-outside-events | JavaScript | โ 231 | Compare โ |
Frequently Asked Questions
What does k-NN do? +
๐ Find the k-nearest neighbors (k-NN) for your vector data
Is k-NN actively maintained in 2026? +
Yes, k-NN is actively maintained. The latest code push was recorded on Nov 11, 2026 (3 days ago). It holds a calculated Maintenance Health Score of 92/100 (A rating) with 231 stars and 319 open issues.
What language is k-NN written in? +
The primary language is Java. Topics include: software.
How many stars does k-NN have? +
k-NN has 231 stars and 255 forks on GitHub.
How does k-NN rank among GitHub repositories? +
With 231 stars, opensearch-project/k-NN is ranked #18,309 globally across all repositories tracked on GitHubRepo and #1,320 among Java projects.
What license is k-NN distributed under? +
The repository reports a Apache-2.0 license. Always verify the repository LICENSE file for legal terms.