Search suggestions for long searches can take too long to calculate
Bug #2059974 reported by
Mike Rylander
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
High
|
Unassigned | ||
3.11 |
Fix Released
|
High
|
Unassigned | ||
3.12 |
Fix Released
|
High
|
Unassigned |
Bug Description
Evergreen version: 3.11+
The suggestion efficacy testing done for "did you mean" suggestions requested against long user searches can take a very long time. It's also probably not useful to the user to look for many spelling-corrected suggestions on 20 word searches.
The next planned enhancement to the Did You Mean functionality will focus partly on making suggestion calculation smarter internally rather than effectively generating suggestions for each word separately and then testing and combining them all at the end. But, as an intermediate stop-gap, we can limit size of the user searches for which we will offer suggestions.
Branch forthcoming...
Changed in evergreen: | |
status: | In Progress → Confirmed |
Changed in evergreen: | |
milestone: | 3.13-beta → 3.13-rc |
tags: | added: signedoff |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Here's a branch that adds a Global Flag to control the search length cap for spelling-based suggestions:
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ miker/lp- 2059974- restrict- dym-search- length