public SearchRequest <T> Not(SearchClause <T> clause) { clause.Field.TermOccur = SearchTerm.TermOccurance(Occurance.NOT); Fields.Add(clause.Field); return(this); }
public SearchRequest <T> Should(SearchClause <T> clause) { clause.Field.TermOccur = SearchTerm.TermOccurance(Occurance.SHOULD); Fields.Add(clause.Field); return(this); }