Search on shipment measurements slow for database with a large number of stock move
The SELECT query of the searcher actually compute the measurements for all the shipments which can only become slower with the database growing.
I think like for other similar case (invoice total, payment amount etc.) we should store the result of the computation once the shipment has reached a final state.