Reindex and friends: don't scroll if limit is smaller than scroll #54270
Labels
:Distributed Indexing/Reindex
Issues relating to reindex that are not caused by issues further down
Team:Distributed
Meta label for distributed team (obsolete)
I wonder if we could avoid adding the
scroll
to the search that reindex uses if thesize
of the reindex (or update_by_query or delete_by_query) is less than the scroll size. Or maybe scroll could do this all on its own if there aren't any results after the first set. I'm not sure if it has that information. But I'm fairly sure reindex and fiends could make this call up front.The text was updated successfully, but these errors were encountered: