On Thu, Apr 9, 2020 at 12:46 AM Tim Flink <tflink@redhat.com> wrote:
I'm working on something that looks for certain results in resultsdb
and I'm getting some strange results. I'm hoping someone here can point
out what I'm doing wrong.

I'm hitting an issue where the data I'm getting back from resultsdb via
the api isn't matching what I see in the frontend. The result is
clearly in the db (I can get the data if I query the result ID) but
when I search for the result using one of its keywords, I get an empty
set back. What's even stranger is that this isn't consistent - some
results submitted around the same time return the results I expect.

I wrote up a quick script to show what I'm seeing:

https://gist.github.com/tflink/1a1ed4263fbeb56b04442a948770965f

It includes the output I'm seeing at the moment as I suspect it'll
start working as soon as someone else looks at it :)

I've tried this on the resultsdb production machine and I'm seeing the
same results. I feel like I'm missing something obvious here so if you
see it, I'd appreciate the help.

Thanks,

Tim

I'm not sure I completely understood your description. However, I did notice that you're searching for
switchboard-plug-about.2.6.2-1.fc31
when you should be searching for
switchboard-plug-about-2.6.2-1.fc31
(a dot replaced by a dash)

That could solve the mystery, hopefully :)

Its results then show up just fine for me in the frontend:
https://taskotron.fedoraproject.org/resultsdb/results?item:like=switchboard-plug-about-2.6.2-1.fc31*