Skip to content

Commit

Permalink
fixes example error in multi-search (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
runeanielsen authored Jun 28, 2022
1 parent 45c908f commit ac24eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ var queryOne = new MultiSearchParameters("companies", "Stark", "company_name");
var queryTwo = new MultiSearchParameters("employees", "Kenny", "person_name");
var queryThree = new MultiSearchParameters("companies", "Awesome Corp.", "company_name");

var (r1, r2, r3) = await _client.MultiSearch<Company, Employee>(queryOne, queryTwo, queryThree);
var (r1, r2, r3) = await _client.MultiSearch<Company, Employee, Company>(queryOne, queryTwo, queryThree);
```

## Retrieve a document on id
Expand Down

0 comments on commit ac24eb4

Please sign in to comment.