In my application I'm using the excellent ReactiveSearch.
There are some constants which need to be filtered on every query. For example, to pass a list of ids which would always be filtered and then the user's filtering applied over the top.
There is a similar question here, but this is focused more on removing fields.
How can a pass an array of IDs to be filtered against a specific field in ElasticSearch? I'm happy to use any kind of hacky approach, such as making a custom component to house the IDs, and then hiding it with CSS, but if there is a cleaner approach please let me know.