I'm not sure if there are any related configurations to control this at the moment, but I think the following strategies could be adopted to solve it:
- Configure a maximum length, and if it exceeds the maximum length, truncate it and add a field describing how much information was truncated due to being too long.
- Configure a maximum length, and if it exceeds the maximum length, directly return a message stating
Search results are too long, modify the search matching mode to obtain more accurate content.