Skip to content

Commit 61ef4b7

Browse files
densumeshskeptrunedev
authored andcommitted
clippy: fix clippy errors
1 parent d0a467d commit 61ef4b7

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

server/src/data/models.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3079,7 +3079,6 @@ pub fn get_range(range: Range) -> Result<qdrant::Range, ServiceError> {
30793079
impl FieldCondition {
30803080
pub async fn convert_to_qdrant_condition(
30813081
&self,
3082-
condition_type: &str,
30833082
jsonb_prefilter: Option<bool>,
30843083
dataset_id: uuid::Uuid,
30853084
pool: web::Data<Pool>,

server/src/operators/search_operator.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ pub async fn assemble_qdrant_filter(
179179

180180
let qdrant_condition = should_condition
181181
.convert_to_qdrant_condition(
182-
"should",
183182
filters.jsonb_prefilter,
184183
dataset_id,
185184
pool.clone(),
@@ -209,7 +208,6 @@ pub async fn assemble_qdrant_filter(
209208

210209
let qdrant_condition = must_condition
211210
.convert_to_qdrant_condition(
212-
"must",
213211
filters.jsonb_prefilter,
214212
dataset_id,
215213
pool.clone(),
@@ -239,7 +237,6 @@ pub async fn assemble_qdrant_filter(
239237

240238
let qdrant_condition = must_not_condition
241239
.convert_to_qdrant_condition(
242-
"must_not",
243240
filters.jsonb_prefilter,
244241
dataset_id,
245242
pool.clone(),

0 commit comments

Comments
 (0)