From the Nutch Wiki:
How to index the local file system?
http://wiki.apache.org/nutch/FAQ#head-c721b23b43b15885f5ea7d8da62c1c40a37878e6
1) crawl-urlfilter.txt needs to be changed to allow the file: URLs, not the following http: those, otherwise it will either not index anything or it will go from your drive to websites. Change this line:
-^(file|ftp|mailto|https): to this: -^(http|ftp|mailto|https):
2) crawl-urlfilter.txt may have rules below to reject some URLs. If it has this fragment, it is probably good:
# accept anything else +.*
3) I modified my nutch.xml to include the following:
<Parameter override="false" name="plugin.includes" value="protocol-file|protocol-http|urlfilter-regex|parse-(msword|pdf|text|html|js)|index-(basic|anchor)|query-(basic|site|url)|response-(json|xml)|summary-basic|scoring-opic|urlnormalizer-(pass|regex|basic)"/>
source share