Does anyone have experience or thoughts on the possible use of Java Thread.setPriority for request processing based on the type of request being processed? In search, queries often need to be processed very fast whereas indexing requests are not as important. If a search node is processing both queries and indexing simultaneously, most of us would rather queries be prioritized. I could imagine a new setting on a request handler to tune this setting.
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Thread.html#setPriority(int) ~ David