-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugging and adding a failing test. #108
Conversation
Bug No geographies in search response on staging when using “exact match, region, query” We have test coverage for this so how did this get through?
So why does this failing test get no document hits whereas others do?
No document type hits = No geographies in response CPR_SDK
Tests:
BACKEND
Potential Fixes: Two options:
This is confusing as it should be a join on the family!
|
We spotted issues inf iltering that have turned out to originate from these being missing. Essentially the yql was skipping searching passages because these fields where not there. So in the case of an exact match query, we give it an impossible task of searching for text blocks, which are passage specific AND for geographies which are document specific. The issue seems to have been there on other queries but was masked by the way the other queries balance other items being searched.
This returned no hits previously. We missed it because the for loop never got to any asserts.
c3efb41
to
f76263f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Took me a second to appreciate the asserts
in the test. 😅
Description
This test is just to make it super clear that we are not getting
geographies
back from vespa (not necessarily looking to merge).Proposed version
Please select the option below that is most relevant from the list below. This
will be used to generate the next tag version name during auto-tagging.
Visit the Semver website to understand the
difference between
MAJOR
,MINOR
, andPATCH
versions.Notes:
used -- e.g. Major > Minor > Patch
sure your selected option is marked
[x]
with no spaces in between thebrackets and the
x
Type of change
Please select the option(s) below that are most relevant:
How Has This Been Tested?
Please describe the tests that you added to verify your changes.
Before submitting
section of the
CONTRIBUTING
docs.Writing docstrings section of the
CONTRIBUTING
docs.