# Is there a way to force the \_seq\_no and \_primary\_term fields in a scroll

**URL:** <https://discuss.elastic.co/t/is-there-a-way-to-force-the-seq-no-and-primary-term-fields-in-a-scroll/217412>\
**Category:** Elasticsearch\
**Created:** [January 31, 2020, 3:21pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-force-the-seq-no-and-primary-term-fields-in-a-scroll/217412 "2020-01-31T15:21:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LordMathis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lordmathis/32/55044_2.png) [@LordMathis](https://discuss.elastic.co/u/LordMathis)\
**Post date:** [January 31, 2020, 3:21pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-force-the-seq-no-and-primary-term-fields-in-a-scroll/217412/1 "2020-01-31T15:21:52Z")

</div>

Hello ELK community,

I have built an application where the user passes us a search body. We want to use the concurrency that was implemented with the \_seq\_no but to do this we need to add '"seq\_no\_primary\_term": true' to the search body. Since I am not the one building the search body that means I have to get the raw text for the search body and inject that line. I'd prefer to not have to do this. Is there a way to force these values, either server wide or in the URL?

Thank you,

Matt

---

<div class="post-metadata">

**Author:** ![loren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/loren/32/44942_2.png) [@loren](https://discuss.elastic.co/u/loren)\
**Post date:** [January 31, 2020, 9:07pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-force-the-seq-no-and-primary-term-fields-in-a-scroll/217412/2 "2020-01-31T21:07:31Z")

</div>

I believe you can just add `seq_no_primary_term=true` to the URL and leave the request body as is. I am unaware of any way to make it a default behavior.

---

<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:** [February 28, 2020, 9:07pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-force-the-seq-no-and-primary-term-fields-in-a-scroll/217412/3 "2020-02-28T21:07:36Z")

</div>

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