public IEnumerable <SearchResult> SearchNodesByTerm(string filter, FullTextFieldType fieldType) { IList <SearchResult> searchResults = this.FullTextDirectory.SearchTerm(filter, fieldType); this.AddNodesToSearchResults(searchResults); return(searchResults); }
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 SearchOptions(FullTextFieldType searchField, string searchText, bool searchRegex) { this.SearchField = searchField; this.SearchText = searchText == null ? string.Empty : searchText; this.SearchRegex = searchRegex; }
public IEnumerable<SearchResult> SearchNodesByTerm(string filter, FullTextFieldType fieldType) { IList<SearchResult> searchResults = this.FullTextDirectory.SearchTerm(filter, fieldType); this.AddNodesToSearchResults(searchResults); return searchResults; }
public SearchOptions(FullTextFieldType searchField, string searchText) { SearchField = searchField; SearchText = searchText == null ? string.Empty : searchText; }
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); }
public IEnumerable<SearchResult> SearchNodesFullText(string filter, FullTextFieldType fieldType) { IList<SearchResult> searchResults = FullTextDirectory.Search(filter, fieldType); AddNodesToSearchResults(searchResults); return searchResults; }
public SearchOptions(FullTextFieldType searchField, string searchText) { this.SearchField = searchField; this.SearchText = searchText == null ? string.Empty : searchText; }