Skip to content

Commit 39cdd66

Browse files
committed
Remove fuzzy search in content_all
1 parent f4750ae commit 39cdd66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/renku_data_services/search/solr_token.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def public_only() -> SolrToken:
187187

188188
def content_all(text: str) -> SolrToken:
189189
"""Search the content_all field with fuzzy searching each term."""
190-
terms: list[SolrToken] = list(map(lambda s: SolrToken(__escape_query(s) + "~"), re.split("\\s+", text)))
190+
terms: list[SolrToken] = list(map(lambda s: SolrToken(__escape_query(s)), re.split("\\s+", text)))
191191
terms_str = "(" + " ".join(terms) + ")"
192192
return SolrToken(f"{Fields.content_all}:{terms_str}")
193193

0 commit comments

Comments
 (0)