4. By using ChatGPT, you don't need to read documents and spend plenty of time to search the answer. ChatGPT can give you answers directly with the example. Here's an example of using Elasticsearch aggregation.