From 2ffbcfed6799879fe5a32c381995cb251481bd80 Mon Sep 17 00:00:00 2001 From: Likith B Date: Tue, 22 Oct 2024 14:06:23 +0530 Subject: [PATCH] MB-61640: Fuzzy Dynamic Scoring - Added edit distance to dict entries --- index.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.go b/index.go index c2125d6..85a50e7 100644 --- a/index.go +++ b/index.go @@ -202,8 +202,9 @@ type TermFieldReader interface { } type DictEntry struct { - Term string - Count uint64 + Term string + Count uint64 + EditDistance uint8 } type FieldDict interface {