internal Search(SearchClient client, SearchOptions options) { this.client = client ?? throw new ArgumentNullException(nameof(client)); this.options = options ?? throw new ArgumentNullException(nameof(options)); }
internal Search(SearchClient client, string query) : this(client, new SearchOptions(query)) { }