From 8e20536f0f9384c653865ceaa9c3f7cd8c50d1b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20B=C3=BCscher?= Date: Wed, 22 Jul 2015 15:34:05 +0200 Subject: [PATCH] Adding utility method to SpanTermQueryBuilderTest that outputs certain amount of queries with same fieldname --- .../query/SpanContainingQueryBuilderTest.java | 7 ++---- .../query/SpanFirstQueryBuilderTest.java | 4 ++-- .../index/query/SpanNearQueryBuilderTest.java | 9 +++----- .../index/query/SpanNotQueryBuilderTest.java | 15 ++----------- .../index/query/SpanOrQueryBuilderTest.java | 9 +++----- .../index/query/SpanTermQueryBuilderTest.java | 22 +++++++++++++++++++ .../query/SpanWithinQueryBuilderTest.java | 15 ++----------- 7 files changed, 36 insertions(+), 45 deletions(-) diff --git a/core/src/test/java/org/elasticsearch/index/query/SpanContainingQueryBuilderTest.java b/core/src/test/java/org/elasticsearch/index/query/SpanContainingQueryBuilderTest.java index cd3461b2b78..3d5f377def9 100644 --- a/core/src/test/java/org/elasticsearch/index/query/SpanContainingQueryBuilderTest.java +++ b/core/src/test/java/org/elasticsearch/index/query/SpanContainingQueryBuilderTest.java @@ -37,11 +37,8 @@ public class SpanContainingQueryBuilderTest extends BaseQueryTestCase