I personally gave up on indexing file contents (commits only) because of the low amount of RAM on my server. I did this with a command switch instead of the mapping file:
rhodecode-index --index-types=commits
Source: Force WHOOSH to re-index through rcstack - #12 by justinmassiot