# Using dense\_vector field in appsearch engine

**URL:** <https://discuss.elastic.co/t/using-dense-vector-field-in-appsearch-engine/283536>\
**Category:** Elastic Search\
**Created:** [September 7, 2021, 1:22pm UTC](https://discuss.elastic.co/t/using-dense-vector-field-in-appsearch-engine/283536 "2021-09-07T13:22:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sureshj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sureshj/32/94261_2.png) [@sureshj](https://discuss.elastic.co/u/sureshj)\
**Post date:** [September 7, 2021, 1:22pm UTC](https://discuss.elastic.co/t/using-dense-vector-field-in-appsearch-engine/283536/1 "2021-09-07T13:22:32Z")

</div>

I want to use fields of type `dense_vector` in an engine.  
It appears it is supported on `elastic search` but not on `app search` (Enterprise search).

The documentation at [Schema API | Elastic App Search Documentation [7.14] | Elastic](https://www.elastic.co/guide/en/app-search/7.14/schema.html) lists only text , number , date , geolocation as valid types.

Here is a link to a document that talks about the dense vector support in elastic search.

> **[Dense vector field type | Elasticsearch Guide \[7.14\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/dense-vector.html)**

Is there any way to use dense-vector fields in appsearch engine documents and use cosine similarity scores?

---

<div class="post-metadata">

**Author:** ![casey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/casey/32/68371_2.png) [@casey](https://discuss.elastic.co/u/casey)\
**Post date:** [September 7, 2021, 2:03pm UTC](https://discuss.elastic.co/t/using-dense-vector-field-in-appsearch-engine/283536/2 "2021-09-07T14:03:13Z")

</div>

Hi Suresh, thanks for trying App Search.

`dense_vector` field types are not yet supported in App Search.

> [@sureshj](#):
>
> Is there any way to use dense-vector fields in appsearch engine documents and use cosine similarity scores?

Not at this time, but that may change in the future.

---

<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:** [November 4, 2022, 8:32am UTC](https://discuss.elastic.co/t/using-dense-vector-field-in-appsearch-engine/283536/3 "2022-11-04T08:32:12Z")

</div>


