Skip to content

Commit

Permalink
HSEARCH-4619 Test behavior of boolean predicate when not adding any c…
Browse files Browse the repository at this point in the history
…lause
  • Loading branch information
yrodiere committed Jun 27, 2022
1 parent 3e3c147 commit 0ed90b0
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -69,6 +69,13 @@ public static void setup() {
initData();
}

@Test
public void noClause() {
assertThatQuery( index.query()
.where( f -> f.bool() ) )
.hasNoHits();
}

@Test
public void must() {
assertThatQuery( index.query()
Expand Down

0 comments on commit 0ed90b0

Please sign in to comment.