Skip to content

Commit f3bbf44

Browse files
committed
Update snippet
1 parent fc3b265 commit f3bbf44

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/snippet_tests/test_create_text_index.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ async fn test_create_text_index() {
1515
let client = Qdrant::from_url("http://localhost:6334").build()?;
1616

1717
let text_index_params = TextIndexParamsBuilder::new(TokenizerType::Word)
18-
.phrase_matching(true)
18+
.min_token_len(2)
19+
.max_token_len(10)
1920
.lowercase(true);
2021

2122
client

0 commit comments

Comments
 (0)