Affected module
Search / Discovery
Describe the bug
Search configuration parameters results do not reset consistently after reverting values. For example increasing an n-gram weight from zero to five changes the preview behavior. The results are out of order and appear to be on a different scale or inconsistent scale, but setting it back to 0 does not restore the prior previous state. The preview then shows the results in an inconsistent and random order.
To Reproduce
- Go to Settings -> Preferences ->Search -> Database
- Keep track of the search results when name.ngram weight is set to 0
- Update the name.ngram weight from 0 to 5. Search results order changes in the preview. Save it.
- Update the search again from 5 to 0. Search results order is not the same as the results noticed in step 2
Expected behavior
If a weight is changed and then reverted to its original value, the previously returned results should remain consistent. Result ordering and displayed scores should reflect the reverted configuration without residual effects from prior settings.
OS
No response
Python version
No response
OpenMetadata version
No response
OpenMetadata Ingestion package version
No response
Additional context
Impact: This makes the preview unreliable for validating tuning changes, because reverting a configuration value does not reliably restore the original preview behavior.
Pre-submission checklist
Affected module
Search / Discovery
Describe the bug
Search configuration parameters results do not reset consistently after reverting values. For example increasing an n-gram weight from zero to five changes the preview behavior. The results are out of order and appear to be on a different scale or inconsistent scale, but setting it back to 0 does not restore the prior previous state. The preview then shows the results in an inconsistent and random order.
To Reproduce
Expected behavior
If a weight is changed and then reverted to its original value, the previously returned results should remain consistent. Result ordering and displayed scores should reflect the reverted configuration without residual effects from prior settings.
OS
No response
Python version
No response
OpenMetadata version
No response
OpenMetadata Ingestion package version
No response
Additional context
Impact: This makes the preview unreliable for validating tuning changes, because reverting a configuration value does not reliably restore the original preview behavior.
Pre-submission checklist