I'm interested in your project tinku, but a bit confused by the terminology. As far as I can tell it doesn't save or update an index file anywhere in contrast to other search utilities with indexing. Is the script ultimately meant to implement conventional indexing (write an index file), or are you using the term in some other sense?
Would your indexing algorithm work for simply indexing file names and other property info? for example, if I wanted to delete all Evernote files from my computer, a search for files by "Evernote"
company would for example reveal the three files shown below, whereas I'd never think to search by "RiteShape" etc. In particular, some antivirus may leave trash files in your system folders with very random names you'd never think to use in a name search, but often the company (Symantec, Kaspersky, ...) is listed in the Company name field.
Since I don't know of any search engine (and I've looked) that lets you search in company, description, author, key words, etc. fields, I'm wondering if I could fill in that gap myself with AHK... Your script should be able to handle that right if I can just figure out how to 'Read' file properties into the "Contents" field rather than the actual contents? fwiw, StatusBarGetText can grab them in open explorer window if those 'details' have been checked for display...