Is there a way to force the _seq_no and _primary_term fields in a scroll

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

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.

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