I have over 700 small, locally stored text files (no more that 2Kb large). Each file is located in a folder such as:
2012//05//18.txt
2013//09/22.txt
2014//11//29.txt
(each file represents a day).
The content contains daily "incident" information. I'm interested in being able to locate files containing specific words.
- Can files be indexed by whoosh in bulk ? That is, can python/whoosh code be written to index a set of files ?
- If so, can a python script be written to search for specific words within each file ?
- If this is not the functionality of whoosh, or if whoosh is overkill for such a task, what can better accomplish this ?