If you find the datasheet, the marking can help confirm that you've found the right part, but there's really no method for going in the other direction. The size and position of the text can be quite distinctive.
The markings often show batch number, date, variant or something like that, but rarely the actual part number, so there can be many variations, and there will usually be no web pages with that particular combination of characters which is why text search doesn't work. Image search is equally useless, with few high-quality images posted on the web of any particular IC.