Add directory-specific option, hard commit to indexer.