# Dense\_vector size

**URL:** <https://discuss.elastic.co/t/dense-vector-size/169975>\
**Category:** Elasticsearch\
**Created:** [February 26, 2019, 10:35am UTC](https://discuss.elastic.co/t/dense-vector-size/169975 "2019-02-26T10:35:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nfavdb](https://avatars.discourse-cdn.com/v4/letter/n/4bbf92/32.png) [@nfavdb](https://discuss.elastic.co/u/nfavdb)\
**Post date:** [February 26, 2019, 10:35am UTC](https://discuss.elastic.co/t/dense-vector-size/169975/1 "2019-02-26T10:35:38Z")

</div>

Hello,

Is there a way for me to slightly increase the size of the dense\_vector datatype introduced in the Elasticsearch 7.0.0 beta?  
For my application I need to store vectors with 512 dimensions, but the documentation states "The maximum number of dimensions that can be in a vector should not exceed 500".  
When I attempt to store a vector of 512 dimensions I get a "RequestError(400, mapper\_parsing\_exception, failed to parse)" which seems to be due to this limitation.  
A different approach would be that each object has 512 fields containing a single float, each representing one dimension. This seems like a less elegant solution. I also can't use an array of floats as the order of the dimensions is important.

---

<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:** [March 26, 2019, 10:35am UTC](https://discuss.elastic.co/t/dense-vector-size/169975/2 "2019-03-26T10:35:41Z")

</div>

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