Indexing is already done. You can use tracker info
to check indexed metadata which has been extracted from an indexed file. And it’s possible to make advanced queries for files matching certain metadata, as explained in Tracker3 search Command-line expression syntax