Skip to content

Commit

Permalink
MB-61640: Fuzzy Dynamic Scoring
Browse files Browse the repository at this point in the history
 - Propagating edit distance from vellum
  • Loading branch information
Likith101 committed Aug 9, 2024
1 parent 368d480 commit ba8624e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dict.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (i *DictionaryIterator) Next() (*index.DictEntry, error) {
}
term, postingsOffset := i.itr.Current()
if fitr, ok := i.itr.(vellum.FuzzyIterator); ok {

Check failure on line 168 in dict.go

View workflow job for this annotation

GitHub Actions / test (1.19.x, ubuntu-latest)

undefined: vellum.FuzzyIterator

Check failure on line 168 in dict.go

View workflow job for this annotation

GitHub Actions / test (1.20.x, ubuntu-latest)

undefined: vellum.FuzzyIterator

Check failure on line 168 in dict.go

View workflow job for this annotation

GitHub Actions / test (1.20.x, macos-latest)

undefined: vellum.FuzzyIterator

Check failure on line 168 in dict.go

View workflow job for this annotation

GitHub Actions / test (1.21.x, ubuntu-latest)

undefined: vellum.FuzzyIterator

Check failure on line 168 in dict.go

View workflow job for this annotation

GitHub Actions / test (1.21.x, macos-latest)

undefined: vellum.FuzzyIterator
i.entry.Distance = fitr.Distance()
i.entry.EditDistance = fitr.Distance()

Check failure on line 169 in dict.go

View workflow job for this annotation

GitHub Actions / test (1.19.x, ubuntu-latest)

i.entry.EditDistance undefined (type index.DictEntry has no field or method EditDistance)

Check failure on line 169 in dict.go

View workflow job for this annotation

GitHub Actions / test (1.20.x, ubuntu-latest)

i.entry.EditDistance undefined (type index.DictEntry has no field or method EditDistance)

Check failure on line 169 in dict.go

View workflow job for this annotation

GitHub Actions / test (1.20.x, macos-latest)

i.entry.EditDistance undefined (type index.DictEntry has no field or method EditDistance)

Check failure on line 169 in dict.go

View workflow job for this annotation

GitHub Actions / test (1.21.x, ubuntu-latest)

i.entry.EditDistance undefined (type index.DictEntry has no field or method EditDistance)

Check failure on line 169 in dict.go

View workflow job for this annotation

GitHub Actions / test (1.21.x, macos-latest)

i.entry.EditDistance undefined (type index.DictEntry has no field or method EditDistance)
}
i.entry.Term = string(term)
if !i.omitCount {
Expand Down

0 comments on commit ba8624e

Please sign in to comment.