Skip to content

Commit 5ede2a2

Browse files
committed
fix #458 isconditionless on filtered
1 parent 03e3741 commit 5ede2a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Nest/DSL/Query/FilteredQueryDescriptor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ bool IQuery.IsConditionless
2525
return this._Query.IsConditionless;
2626
if (this._Filter != null && this._Query == null)
2727
return this._Filter.IsConditionless;
28-
return false;
28+
return this._Query.IsConditionless && this._Filter.IsConditionless;
2929
}
3030
}
3131

0 commit comments

Comments
 (0)