LPS-49586 refactor subset method
LPS-49586 merge processQueryResponse and subset methods for future refactoring
LPS-49586 refactor getSnippet logic
LPS-49586 remove unused method
LPS-49586 update highlight logic to match ES and lucene
LPS-49586 SF