internal static bool IsConditionless(ISpanNotQuery q)
        {
            var exclude = q.Exclude as IQuery;
            var include = q.Include as IQuery;

            return(exclude == null && include == null ||
                   include == null && exclude.Conditionless ||
                   exclude == null && include.Conditionless ||
                   exclude != null && exclude.Conditionless && include != null && include.Conditionless);
        }
 public virtual void Visit(ISpanNotQuery query)
 {
     Write("span_not");
 }
 public virtual void Visit(ISpanNotQuery query)
 {
 }
Exemple #4
0
 public virtual void Visit(ISpanNotQuery query)
 {
     Write("span_not");
 }
 public virtual void Visit(ISpanNotQuery customFiltersScore)
 {
 }
		public virtual void Visit(ISpanNotQuery query) { }
		public virtual void Visit(ISpanNotQuery customFiltersScore)
		{
		}