Skip to content

Search Preview Inconsistent Behavior #27946

Description

@umavepachedu-collate

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

  1. Go to Settings -> Preferences ->Search -> Database
  2. Keep track of the search results when name.ngram weight is set to 0
  3. Update the name.ngram weight from 0 to 5. Search results order changes in the preview. Save it.
  4. 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

  • I searched for duplicate issues.
  • I removed credentials, hostnames, emails, and other sensitive data from logs and config.

Metadata

Metadata

Labels

Type

Projects

Status
Done ✅

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions