Azure / Azure/azure-sdk-for-python

Support fuzzy match and multiple hits for tag scoring

Abierto
#39,635 4 comentarios 0 reacciones 2 asignados Reclamado por @mattgotteiner Ver en GitHub
Client customer-reported feature-request needs-team-attention Search
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

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.