Skip to content

Commit 22f7ffc

Browse files
committed
Fix method paramters
1 parent bd09ed0 commit 22f7ffc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

solr/query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ def query_by_gender_and_city(client: pysolr.Solr, gender: str, city: str) -> lis
5050
return [str(result) for result in results]
5151

5252

53-
def query_with_boosting(search_term: str) -> list[str]:
54-
results = solr.search(
53+
def query_with_boosting(client: pysolr.Solr, search_term: str) -> list[str]:
54+
results = client.search(
5555
f"name:{search_term}^2 OR email:{search_term}",
5656
**{"q.op": "OR", "indent": "true"},
5757
)

0 commit comments

Comments
 (0)