mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-15 13:58:36 +02:00
chore: Clarify some QueryBuilder comments
This commit is contained in:
parent
8438e2202f
commit
66ae5c8161
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ where D: Deref<Target=DB>,
|
|||
FI: Fn(DocumentId, &DatabaseView<D>) -> bool,
|
||||
{
|
||||
pub fn query(self, query: &str, range: Range<usize>) -> Vec<Document> {
|
||||
// We give the filtering work to the query distinct builder,
|
||||
// We delegate the filter work to the distinct query builder,
|
||||
// specifying a distinct rule that has no effect.
|
||||
if self.filter.is_some() {
|
||||
let builder = self.with_distinct(|_, _| None as Option<()>, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue