# Vector knn search with more than 1024 dimensions

**URL:** <https://discuss.elastic.co/t/vector-knn-search-with-more-than-1024-dimensions/332819>\
**Category:** Elasticsearch\
**Tags:** vector-search\
**Created:** [May 8, 2023, 12:45pm UTC](https://discuss.elastic.co/t/vector-knn-search-with-more-than-1024-dimensions/332819 "2023-05-08T12:45:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sbruinsje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sbruinsje/32/108568_2.png) [@sbruinsje](https://discuss.elastic.co/u/sbruinsje)\
**Post date:** [May 8, 2023, 12:45pm UTC](https://discuss.elastic.co/t/vector-knn-search-with-more-than-1024-dimensions/332819/1 "2023-05-08T12:45:27Z")

</div>

If I understood correctly, from version 8.8 elasticsearch will support knn search for vectors over 1024 dimensions. Is there any indication when this will be released? I'm trying to work with openai embeddings (2nd generation), but can't use them for now because of the 1024 dims limitation.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 9, 2023, 7:26am UTC](https://discuss.elastic.co/t/vector-knn-search-with-more-than-1024-dimensions/332819/2 "2023-05-09T07:26:04Z")

</div>

This will solve that feature request I think:

> <https://github.com/elastic/elasticsearch/pull/95257>
>
> Currently Lucene limits the max number of vector dimensions to 1024. 
> This comm…it overrides KnnFloatVectorField and KnnByteVectorField 
> classes to increase the limit to 2048 for indexed vectors in ES.

Should be in the coming 8.8 version.

---

<div class="post-metadata">

**Author:** ![sbruinsje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sbruinsje/32/108568_2.png) [@sbruinsje](https://discuss.elastic.co/u/sbruinsje)\
**Post date:** [May 9, 2023, 12:00pm UTC](https://discuss.elastic.co/t/vector-knn-search-with-more-than-1024-dimensions/332819/3 "2023-05-09T12:00:00Z")

</div>

Is there any indication on when 8.8 will be released? Is it in the order of weeks or months?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [May 9, 2023, 12:17pm UTC](https://discuss.elastic.co/t/vector-knn-search-with-more-than-1024-dimensions/332819/4 "2023-05-09T12:17:44Z")

</div>

Elastic does as far as I know not provide release dates. If you however look at the dates of previous releases they seem to be spaced out a bit more than 2 months apart. 8.7.0 was released March 30 so I would guess 8.8 might be released sometime in June if it follows the pattern.

---

<div class="post-metadata">

**Author:** ![sbruinsje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sbruinsje/32/108568_2.png) [@sbruinsje](https://discuss.elastic.co/u/sbruinsje)\
**Post date:** [May 10, 2023, 1:35pm UTC](https://discuss.elastic.co/t/vector-knn-search-with-more-than-1024-dimensions/332819/5 "2023-05-10T13:35:26Z")

</div>

Clear! Thanks 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 7, 2023, 1:35pm UTC](https://discuss.elastic.co/t/vector-knn-search-with-more-than-1024-dimensions/332819/6 "2023-06-07T13:35:46Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
