It all comes done to "is this a one-of search or will you perform this search more often".If 1: write a script in any language that scans the filesIf 2: build an index yourself, store it somewhere (let's say a database :-) and search the index. But in this case I would install and use ts-search.