public IList <SearchResult> Search(string searchText, FullTextFieldType field) { Query query = this.CustomQueryParser.Parse(searchText, field.ToString()); return(this.RunQuery(query)); }
public IList<SearchResult> SearchTerm(string searchTerm, FullTextFieldType field) { Query query = new TermQuery(new Term(field.ToString(), searchTerm)); return this.RunQuery(query); }
public IList <SearchResult> SearchTerm(string searchTerm, FullTextFieldType field) { Query query = new TermQuery(new Term(field.ToString(), searchTerm)); return(this.RunQuery(query)); }
public IList<SearchResult> Search(string searchText, FullTextFieldType field) { Query query = this.CustomQueryParser.Parse(searchText, field.ToString()); return this.RunQuery(query); }