Hiram Centelles RodrĂguez
05/02/2024, 11:52 AMnum_typos
param is equal to the Levenshtein distance? is not clear to me reading the docs. I've set num_typos: 2
, the max, but I'm getting results like the image for the query anillos compromiso
. typo_prefix_score
is 4 which is the Levenshtein distance; tokens_matched
is 2, but it seems like just 1 token match.Hiram Centelles RodrĂguez
05/02/2024, 11:54 AMHiram Centelles RodrĂguez
05/02/2024, 11:56 AMHiram Centelles RodrĂguez
05/02/2024, 12:15 PMHiram Centelles RodrĂguez
05/02/2024, 12:15 PMKishore Nallan
05/02/2024, 3:47 PMHiram Centelles RodrĂguez
05/02/2024, 4:36 PMHiram Centelles RodrĂguez
05/02/2024, 4:40 PMHiram Centelles RodrĂguez
05/02/2024, 4:45 PManillos
match villa
the Levenshtein distance between those is 4, to high for what I wantKishore Nallan
05/03/2024, 10:40 PMKishore Nallan
05/03/2024, 10:41 PMlocalhost
with your host name)
curl -H "X-TYPESENSE-API-KEY: ${TYPESENSE_API_KEY}" -k '<https://localhost/multi_search>' --data-raw '{"searches":[{"preset":"search_query","collection":"ads_2405011912","q":"anillos compromiso","page":1,"per_page":6}]}'
The above also produces correct results.Hiram Centelles RodrĂguez
05/06/2024, 4:24 PMHiram Centelles RodrĂguez
05/06/2024, 4:25 PM"page": 10
in your curl command and you will see itKishore Nallan
05/06/2024, 6:49 PM