On Thu, Apr 9, 2020 at 12:46 AM Tim Flink <tflink(a)redhat.com> wrote:
I'm working on something that looks for certain results in
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:
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.
I'm not sure I completely understood your description. However, I did
notice that you're searching for
when you should be searching for
(a dot replaced by a dash)
That could solve the mystery, hopefully :)
Its results then show up just fine for me in the frontend: