Skip to content

Commit

Permalink
[feat] 0.23.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ppodolsky committed May 11, 2024
1 parent 815c32f commit 0f72d9a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions summa-core/src/components/query_parser/summa_ql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1196,11 +1196,6 @@ mod tests {
assert_eq!(format!("{:?}", query), "Ok(BooleanQuery { subqueries: [(Should, TermQuery(Term(field=0, type=Str, \"red1\"))), (Should, DisjunctionMaxQuery { disjuncts: [TermQuery(Term(field=0, type=Str, \"search\")), TermQuery(Term(field=0, type=Str, \"searches\"))], tie_breaker: 0.3 }), (Should, DisjunctionMaxQuery { disjuncts: [TermQuery(Term(field=0, type=Str, \"engine\")), TermQuery(Term(field=0, type=Str, \"engines\"))], tie_breaker: 0.3 }), (Should, TermQuery(Term(field=0, type=Str, \"going\")))] })");
let query = query_parser.parse_query("iso 34-1:2022");
assert_eq!(format!("{:?}", query), "Ok(BooleanQuery { subqueries: [(Should, DisjunctionMaxQuery { disjuncts: [TermQuery(Term(field=0, type=Str, \"iso\")), TermQuery(Term(field=0, type=Str, \"isos\"))], tie_breaker: 0.3 }), (Should, TermQuery(Term(field=0, type=Str, \"34\"))), (Should, TermQuery(Term(field=0, type=Str, \"1\")))] })");
let query = query_parser.parse_query("http://www.aaa.com-inward-record-b-c\naaaa");
assert_eq!(
format!("{:?}", query),
""
);
}

#[test]
Expand Down

0 comments on commit 0f72d9a

Please sign in to comment.