Search timeout support is currently only available in the query phase. DFS phase used to be lighter before the introduction of knn, but it should support search timeouts when knn query is being rewritten / executed. Currently, the DFS phase does not set the timeout to the index searcher.
SearchTimeoutIT needs to be expanded to cover for the DFS phase / knn queries. A new unit test similar to QueryPhaseTimeoutTests should be added for the DFS phase, which specifically verifies that the timeout is applied to the knn query rewrite, as well as to the search itself.
Search timeout support is currently only available in the query phase. DFS phase used to be lighter before the introduction of knn, but it should support search timeouts when knn query is being rewritten / executed. Currently, the DFS phase does not set the timeout to the index searcher.
SearchTimeoutIT needs to be expanded to cover for the DFS phase / knn queries. A new unit test similar to QueryPhaseTimeoutTests should be added for the DFS phase, which specifically verifies that the timeout is applied to the knn query rewrite, as well as to the search itself.