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

@ -351,7 +351,7 @@ impl Index {
Ok(self.documents_ids(rtxn).map(|docids| docids.len() as usize)?)
}
pub fn facets<'a>(&'a self, rtxn: &'a RoTxn) -> FacetDistribution<'a> {
pub fn facets_distribution<'a>(&'a self, rtxn: &'a RoTxn) -> FacetDistribution<'a> {
FacetDistribution::new(rtxn, self)
}