Azure / Azure/azure-sdk-for-python
Support fuzzy match and multiple hits for tag scoring
- Lenguaje dominante
- Python
- Estrellas
- 5.6k
- Forks
- 3.4k
- Merge medio
- 2 d 2 h
- PR fusionados (30 d)
- 213
Descripción
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.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.