Rename the Index facets method into facets_distribution

This commit is contained in:
Clément Renault 2021-01-27 14:15:33 +01:00
parent 433ac8c38a
commit 65b821b192
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
4 changed files with 3 additions and 4 deletions

View file

@ -702,7 +702,7 @@ async fn main() -> anyhow::Result<()> {
let number_of_candidates = candidates.len();
let facets = if query.facet_distribution == Some(true) {
Some(index.facets(&rtxn).candidates(candidates).execute().unwrap())
Some(index.facets_distribution(&rtxn).candidates(candidates).execute().unwrap())
} else {
None
};