# k-NN roadmap in light of Lucene 9.0

**URL:** <https://forum.opensearch.org/t/k-nn-roadmap-in-light-of-lucene-9-0/8241>\
**Category:** k-NN\
**Created:** [January 10, 2022, 9:11am UTC](https://forum.opensearch.org/t/k-nn-roadmap-in-light-of-lucene-9-0/8241 "2022-01-10T09:11:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![breno](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@breno](https://forum.opensearch.org/u/breno)\
**Post date:** [January 10, 2022, 9:11am UTC](https://forum.opensearch.org/t/k-nn-roadmap-in-light-of-lucene-9-0/8241/1 "2022-01-10T09:11:53Z")

</div>

Hi everyone,

with release 9.0 Lucene introduced native ANN support ([Lucene Change Log](https://lucene.apache.org/core/9_0_0/changes/Changes.html#v9.0.0.new_features)) based on small navigable worlds (~H~SNW). Elasticsearch 8.0 will include a new `_knn_search` endpoint ([Add new kNN search endpoint by jtibshirani · Pull Request #79013 · elastic/elasticsearch · GitHub](https://github.com/elastic/elasticsearch/pull/79013)) leveraging the new Lucene capability.

Are there any plans on working on integrating the Lucene-native implementation in OpenSearch or OpenSearch kNN?

What’s your assessment of the situation?

Cheers!

---

<div class="post-metadata">

**Author:** ![dtaivpp](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/dtaivpp/32/2814_2.png) [@dtaivpp](https://forum.opensearch.org/u/dtaivpp)\
**Post date:** [January 10, 2022, 3:20pm UTC](https://forum.opensearch.org/t/k-nn-roadmap-in-light-of-lucene-9-0/8241/2 "2022-01-10T15:20:04Z")

</div>

Curious to see what others think as well. I feel like kNN is nice because of its simplicity and good accuracy with relatively small data sets. That being said it might be interesting if OpenSearch could allow users to specify whether they wanted to use Lucene’s ANN implementation or OpenSearches kNN.
