How to index contents of directory and files?

I am looking for a way to make the contents of a directory searchable / indexable. The directory contains lots of files, categorised in a folder structure. There are different file types: jpeg, PDF, markdown, txt, etc. Now I need a way to index the contents of the files so I can easily search for a certain file through a webform. Any ideas how to create an index like this?

you can use B+ tree.

You could use bleve to make something that parses the text out of all the files and indexes them.

http://www.blevesearch.com/

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.