If we are talking 25000 current aliases and expect this to grow I would recommend handling this through modification of the query instead. Having these aliases will make it appear just as it is today, but I have seen issues with large amounts of aliases (in older versions) so would stay clear of this.