protected ApplyFullTextClause ( CombinedQuery query, string searchText ) : void | ||
query | CombinedQuery | |
searchText | string | |
return | void |
protected void ApplyFullTextClause(CombinedQuery query, string searchText)
{
if (String.IsNullOrEmpty(searchText)) return;
query.Add(new FullTextQuery(searchText), QueryOccurance.Must);
}