fix clippy lints from 1.80-1.81 (#2488)

* fix some clippy lints

* fix clippy::doc_lazy_continuation

* fix some lints for 1.82
This commit is contained in:
trinity-1686a
2024-09-05 14:33:05 +02:00
committed by GitHub
parent a206c3ccd3
commit 85395d942a
30 changed files with 79 additions and 98 deletions

View File

@@ -5,15 +5,10 @@ use crate::schema::{IndexRecordOption, Term};
/// The boolean query returns a set of documents
/// that matches the Boolean combination of constituent subqueries.
///
/// The documents matched by the boolean query are
/// those which
/// * match all of the sub queries associated with the
/// `Must` occurrence
/// * match none of the sub queries associated with the
/// `MustNot` occurrence.
/// * match at least one of the sub queries associated
/// with the `Must` or `Should` occurrence.
///
/// The documents matched by the boolean query are those which
/// - match all of the sub queries associated with the `Must` occurrence
/// - match none of the sub queries associated with the `MustNot` occurrence.
/// - match at least one of the sub queries associated with the `Must` or `Should` occurrence.
///
/// You can combine other query types and their `Occur`ances into one `BooleanQuery`
///