From 7c2490b2ad351b1a27db03a5293c3baa95665375 Mon Sep 17 00:00:00 2001 From: Dominik Surowiecki Date: Fri, 5 Sep 2014 12:23:50 +0200 Subject: [PATCH] Docs: Wrong class name Was QFilterBuilders, should be FilterBuilders. Closes #7611 --- docs/java-api/query-dsl-filters.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/java-api/query-dsl-filters.asciidoc b/docs/java-api/query-dsl-filters.asciidoc index 2164ee8a407..60ded5ef182 100644 --- a/docs/java-api/query-dsl-filters.asciidoc +++ b/docs/java-api/query-dsl-filters.asciidoc @@ -258,11 +258,11 @@ See: [source,java] -------------------------------------------------- // Has Child -QFilterBuilders.hasChildFilter("blog_tag", +FilterBuilders.hasChildFilter("blog_tag", QueryBuilders.termQuery("tag", "something")); // Has Parent -QFilterBuilders.hasParentFilter("blog", +FilterBuilders.hasParentFilter("blog", QueryBuilders.termQuery("tag", "something")); --------------------------------------------------