예제 #1
0
 /// <summary>
 /// The type of the search operation to perform.
 /// Defaults to query_then_fetch.
 /// see http://www.elasticsearch.org/guide/reference/api/search/search-type.html
 /// </summary>
 public SearchCommand SearchType(SearchType searchType)
 {
     WithParameter("search_type", searchType.AsString());
     return(this);
 }