support termFrequency and numDoc in DocOnly index.
_totalTermFrequency fix.
construct compressed
Merge branch 'master' of https://github.com/owwlo/web_search_engine_course into huiyang

erge with master