Skip to content

Commit

Permalink
clippy: fix clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
densumesh authored and skeptrunedev committed Jul 26, 2024
1 parent d0a467d commit 61ef4b7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion server/src/data/models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3079,7 +3079,6 @@ pub fn get_range(range: Range) -> Result<qdrant::Range, ServiceError> {
impl FieldCondition {
pub async fn convert_to_qdrant_condition(
&self,
condition_type: &str,
jsonb_prefilter: Option<bool>,
dataset_id: uuid::Uuid,
pool: web::Data<Pool>,
Expand Down
3 changes: 0 additions & 3 deletions server/src/operators/search_operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ pub async fn assemble_qdrant_filter(

let qdrant_condition = should_condition
.convert_to_qdrant_condition(
"should",
filters.jsonb_prefilter,
dataset_id,
pool.clone(),
Expand Down Expand Up @@ -209,7 +208,6 @@ pub async fn assemble_qdrant_filter(

let qdrant_condition = must_condition
.convert_to_qdrant_condition(
"must",
filters.jsonb_prefilter,
dataset_id,
pool.clone(),
Expand Down Expand Up @@ -239,7 +237,6 @@ pub async fn assemble_qdrant_filter(

let qdrant_condition = must_not_condition
.convert_to_qdrant_condition(
"must_not",
filters.jsonb_prefilter,
dataset_id,
pool.clone(),
Expand Down

0 comments on commit 61ef4b7

Please sign in to comment.