Description
There're several queries relying on rewrite to do the most heavy work, such as KnnVectorQuery and AutomatonQuery, should we make rewrite step being able to run under multi-threading? Or we could also just move those costly steps into scorer creation and don't rewrite, that could also be an option because I can't really come up with other queries that are costly when doing rewrite.
Description
There're several queries relying on rewrite to do the most heavy work, such as KnnVectorQuery and AutomatonQuery, should we make rewrite step being able to run under multi-threading? Or we could also just move those costly steps into scorer creation and don't rewrite, that could also be an option because I can't really come up with other queries that are costly when doing rewrite.