📜  在java代码示例中实现elasticsearch过滤器

📅  最后修改于: 2022-03-11 14:52:21.713000             🧑  作者: Mango

代码示例1
FilteredQueryBuilder builder = QueryBuilders.filteredQuery(QueryBuilders.matchAllQuery(),
   FilterBuilders.termFilter("username","stackoverflow"));