public virtual void Visit(ITermsSetQuery query) => Write("terms_set");
internal static bool IsConditionless(ITermsSetQuery q) => q.Field.IsConditionless() || q.Terms == null || !q.Terms.HasAny() || q.Terms.All(t => t == null || ((t as string)?.IsNullOrEmpty()).GetValueOrDefault(false)) || q.MinimumShouldMatchField.IsConditionless() && q.MinimumShouldMatchScript == null;
public virtual void Visit(ITermsSetQuery query) { }