It seems to me that the search index for MediaSearch on commons is not updated when a file is replaced.
Steps to reproduce
- Upload an image with a resolution of for example 2,048 × 1,536 Pixels
- Search in MediaSearch with a CirrusSearch query that finds you image by image dimensions, for example user:Discostu filew:<2049 fileh:<2049
- Overwrite your image with a larger file, for example 3,648 × 2,736 pixels
- Repeat the same search with MediaSearch
The image is not among the search results anymore
The image is still among the search results, even 12 hours after the re-upload