# Adding to termvector

**URL:** <https://discuss.elastic.co/t/adding-to-termvector/76500>\
**Category:** Elasticsearch\
**Created:** [February 25, 2017, 8:36pm UTC](https://discuss.elastic.co/t/adding-to-termvector/76500 "2017-02-25T20:36:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alecm3](https://avatars.discourse-cdn.com/v4/letter/a/839c29/32.png) [@alecm3](https://discuss.elastic.co/u/alecm3)\
**Post date:** [February 25, 2017, 8:36pm UTC](https://discuss.elastic.co/t/adding-to-termvector/76500/1 "2017-02-25T20:36:54Z")

</div>

I am storing large rapidly growing texts as termvectors only, with the \_source disabled due to storage space constraints. The termvectors have offsets and positions disabled, only used as bag-of-words. When a new chunk of text is available to be added to an existing document, I would like to create a termvector from the new text, and then add this new termvector to the termvector of the existing document.

Is it possible to add two termvectors within the Elasticsearch, or the client needs to retrieve the document's termvector, add the termvectors in the client and then store the sum?

---

<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 25, 2017, 8:37pm UTC](https://discuss.elastic.co/t/adding-to-termvector/76500/2 "2017-03-25T20:37:23Z")

</div>

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