Performance of large search templates + Partial modification of search templates

Greetings everyone,

I have two questions regarding search templates:

  1. I am planning to use search templates with large arrays in terms filters (100k to 1m array elements, approx. 1MB to 5MB) in order to avoid cluttering the network with such big data. Is this a wise decision in terms of search performance in general?

  2. Since these search templates are going to be very large in size, is there a way to partially modify them? Like adding/removing array elements without having to replace the whole search template? Kind of similar to percolate API?

Kind regards

  1. With so many values, it's going to be bad no matter what. But a search template may help alleviate things a bit.
  2. Percolate does not do this. You need to replace the entire template.