Added term facets to search query. #6543

Added a test for facets.
Merge pull request #11 from PritishC/feature/task-6543

Added term facets to search query. #6543