ui icon indicating copy to clipboard operation
ui copied to clipboard

Query Search doesn't seem to be working correctly. Returning results from other attributes

Open darewreck54 opened this issue 1 year ago • 3 comments

Describe the bug

  • I have two search filters “CustomString1” = “default-pd-dhang” and “CustomString2” = “pd-framework-demo” but when i try to search “CustomString1” = “pd-framework-demo” it returns me the workflow, but “pd-framework-demo” is set to “CustomString2"
  • When trying to search for partial text, it doesn't work. Seems to have to have exact match.

To Reproduce Steps to reproduce the behavior:

Problem 1:

  1. Create search-attributes "CustomString1" and "CustomString2" as Text Type
  2. Create a workflow that set "CustomString1" = "default-pd-dhang" and "CustomString2" = “pd-framework-demo”
  3. Go to UI, and query CustomString1 = “pd-framework-demo”. This returns a workflow. This should not return anything since it's set to CustomString2

Problem 2:

  1. Create search-attributes "CustomString1" and "CustomString2" as Text Type
  2. Create a workflow that set "CustomString1" = "default-pd-dhang"
  3. Go to UI, and query CustomString1 = “default”. Would expect a workflow to show up but it doesn't

Expected behavior Problem 1:

  • Typing in a query string for another custom search attribute should not return anything.

Problem 2:

  • Text should allow partial search

Screenshots If applicable, add screenshots to help explain your problem.

Problem 1:

Looks like it attribute name doesnt' matter and its just compares the result to all attributes image

image image image

Problem 2: image

Sometimes works... image

Then it doesn't image

  • OS: osx
  • Browser chrome
  • Version: 2.10.3

darewreck54 avatar Apr 12 '23 17:04 darewreck54

This also happens with the tctl so It's prob an issue with the service...

darewreck54 avatar Apr 12 '23 22:04 darewreck54

Thanks @darewreck54 for the issue report!

Checking out first one issue, will report back.

For the second issue, currently the server does not support partial search so this is expected behavior.

Alex-Tideman avatar Apr 14 '23 17:04 Alex-Tideman

Hmm from the screen shot it looks like it is returning partial search sometimes. And sometimes not. What’s the diff between using keyword vs text then if you can’t use partial search?

Get Outlook for iOShttps://aka.ms/o0ukef


From: Alex Tideman @.> Sent: Friday, April 14, 2023 10:23:24 AM To: temporalio/ui @.> Cc: Derek @.>; Mention @.> Subject: Re: [temporalio/ui] Query Search doesn't seem to be working correctly. Returning results from other attributes (Issue #1282)

Thanks @darewreck54https://github.com/darewreck54 for the issue report!

Checking out first one issue, will report back.

For the second issue, currently the server does not support partial search so this is expected behavior.

— Reply to this email directly, view it on GitHubhttps://github.com/temporalio/ui/issues/1282#issuecomment-1508989978, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD3MFTTSAZ4HSNNB75KAD33XBGBYZANCNFSM6AAAAAAW37RMIA. You are receiving this because you were mentioned.Message ID: @.***>

darewreck54 avatar Apr 14 '23 17:04 darewreck54