- part-r-00000(pig word count result)
- topics_clusters_dump
- hottest_words.txt
- Crate folders under the result folder using the name of fields (news, for example, is used in the test case) run insert.py with the name of fields as argument, it will automatically search for the result/{field_name}/ folder for files
- Run server.py when insertion complete, default port: 9000
- Query 1
- HTTP Request 1: localhost:9000/query?field=news
- HTTP Response 1: Return a list of top words. if the word is included in clustering, you can also find cluster names in the JSON object also returns a list of top phrases
- Query 2
- HTTP Request 2: localhost:9000/cluster?field=news&cname=VL-183
- HTTP Response 2: Return a list of words in a specific cluster