比如:
termQuery("cityName", "北京市");
改成:
termQuery("cityName.keyword", "北京市");
即可。
喜欢本文的朋友不要忘记点一个免费的赞哦,你的赞将是我最大的动力。