changed default max length, added our own per doc and per field api
improved comment
added comments
removed unused cache
added query rewrite static method (unused for now)
no need to check the query
improved snippets sorting algorithm and added new hlType
added integration tests for postings hl