Azure / Azure/azure-sdk-for-python

Support fuzzy match and multiple hits for tag scoring

Open
#39,635 4 comments 0 reactions 2 assignees Claimed by @mattgotteiner View on GitHub
Client customer-reported feature-request needs-team-attention Search
Dominant language
Python
Stars
5.6k
Forks
3.4k
Avg merge
1d 21h
Merged PRs (30d)
193

Description

We can set up the tag scoring profile by this:
```
scoring_profiles = [
ScoringProfile(
name="my-scoring-profile",
functions=[
TagScoringFunction(
field_name="tags",
boost=10,
parameters=TagScoringParameters(
tags_parameter="tags",
),
)
],
)
]
```

But it will just boost the score if exact match is hit and even though I have multiple hits say "tags-house,car,watch" I could only get the same score as the hit is only 1.

So do we have fuzzy match like allowing editdistance within~3 and get multiplier scores if multiple values are hit in the tags. This is especially useful in a lot of cases.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.