Bug 461170
| Summary: | Search Server: nonsensical things return results | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Justin Sherrill <jsherril> |
| Component: | WebUI | Assignee: | John Matthews <jmatthew> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 0.2 | CC: | cperry, jesusr |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-01-22 16:29:54 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 456552 | ||
|
Description
Justin Sherrill
2008-09-04 17:30:53 UTC
The issue is that we had logic in the search server to return the 10 best hits. For the case of a system search with say "jksdflsdjflwoinlv" in the system name. The search string would be broken up into a series of NGrams (permutations of all the letters) and that would be searched and ranked. We'd get back scores that were very low and return the highest scoring 10. Now I've add in a check that if the score is below a configurable threshold value we will not return the results. This check is only for system search, for other searches we still return the first 10 matches at a minimum. search.system_score_threshold=.10 This change was introduced in spacewalk 0.3. searching for 837248723847893 or jksdflsdjflwoinlv, resulted in no systems found. |