A common technique is to expand the query language to allow the metadata conditions to be specified as part of the query string.
常见的一项技术是扩展查询语言,从而允许将元数据条件指定为查询字符串的一部分。
Synonyms: This dictionary can be used to expand terms in the query string sent to the search engine to include specified synonyms.
同义词:可以使用这个字典扩展发送给搜索引擎的查询字符串中的词汇,使其包含指定的同义词。
The real benefit here is that to change or expand the list of supported terms or cities you can just update the string array.
主要的优点在于如果要修改或扩展支持的项或城市列表,只需要修改字符串数组即可。
应用推荐