-
Notifications
You must be signed in to change notification settings - Fork 36
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
Extended Age Query not performing search as expected, strict mode is not being followed #6271
Comments
I identified the misunderstanding. The strict age query is designed to look through all the paths from CO to Chronostrat/AbsoluteAge. If any of those paths fall within the bounds of the age query range filter, then the CO will be returned in the query. These are the paths it checks:
In the extended age query issue #5180, this is how the strict and non-strict modes are described:
It seems the misunderstanding is what strict mode means. Here are the conditions used when filter each chronostrat:
This implementation is reflected in the testing instructions for #5272 Going through the example for the CO with CatalogNumber 'G014'.
From the description of this issue, it seems that strict mode means that for all non-null paths, take the smallest and largest numbers to create a "meta" start and end period for the CO, and then evaluate the filtering condition on that. In this implementation, which filtering condition would be used? So, for the CO with CatalogNumber 'G014', the meta start/end period for the CO would be 125 - 66, and the desire would be for it to fail the strict query filter. To summarize, the strict mode currently is implemented to adjust the filtering condition of the age query to reflect partial or full overlap, while this issue wants a single meta start and end age for each CO to be used. I could implement this behavior as another mode called "meta-strict" or "super-strict"? Or I can fully replace the current strict mode implementation? The new version of the age name filter displays the "meta" age range of each CO record, so it will be easier to make these adjustments in the branch. #6206 EDIT: I'm working on implementing the strict behavior described in this issue. |
I implemented the new strict age query behavior in #6206 |
Describe the bug
I am searching for all objects that fall within the
Albian
age (which has the start and end period by default set to 125-125):My query is set to "strict" for the search, so I would expect to only return all objects that have all age values between 125-125. See #5180 for more specific expectations.
For example, the Collection Object with the catalog number
G014
should have a range of66 - 125
since it has an end period forLate, Cretaceous
(100.5 - 66
) linked to its relative age and an absolute age of100
.Expected behavior
These records should not be returned in this query. Strict mode is not functioning as expected,
Crash Report
If the bug resulted in an error message, please click on "Download Error Message" and attach it here. If there is no error, please follow these instructions to download your System Information.
Please fill out the following information manually:
production
(473b18b)710webinar
(download here)spadmin
The text was updated successfully, but these errors were encountered: