新手
列表字段:docBuilder.field(FreeTextField, List freeTextFieldAsArray)
想用QueryBuilders做一个查询匹配列表中的一项,怎么做呢?
能再详细描述一下吗?
这个字段的数据是一个列表List。我想做的查询是精确匹配列表中的一项。
我以为有特别的ChildMatch之类的操作符。不过,好像QueryBuilders.matchQuery就可以支持这个需求。
新手
列表字段:docBuilder.field(FreeTextField, List freeTextFieldAsArray)
想用QueryBuilders做一个查询匹配列表中的一项,怎么做呢?
能再详细描述一下吗?
这个字段的数据是一个列表List。我想做的查询是精确匹配列表中的一项。
我以为有特别的ChildMatch之类的操作符。不过,好像QueryBuilders.matchQuery就可以支持这个需求。
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.