HUE-2037 [search] Index a file or hive table easily

Add a collection manually.
Add a collection from a file.
Parse file with APIs.