Skip to content
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

Reworking Boolean Query Configuration Options #124

Merged
merged 2 commits into from
Apr 6, 2022

Conversation

silvanheller
Copy link
Member

@silvanheller silvanheller commented Mar 29, 2022

This PR fixes an issue which was caused due to a recent Cottontail Update, where Integer-Dropdowns would return 0 results because they were sent as strings to Cottontail (and Cottontail doesn't parse Strings in queries as integers anymore if the column which is queried is an integer).

It adds significantly more configuration options to boolean terms (and removes redundancies), allows setting operators explicitly and makes the config more readable. All options are documented via examples in the default configuration. Additionally, vitrivr/cineast#286 adds a working Boolean retrieval for Segment IDs to the default to have an out-of-the-box example.

Additionally, this PR hides information about the stage-index unless there are multiple stage. For a visual diff:

Previously

image

Now

vitrivr-ng-entry

Copy link
Contributor

@sauterl sauterl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me. I do not really undestand why boolean-query-option.model.ts is an enum with values (1 and 2) and the values (aside from the enum itself) got removed for ValueType in bool-attributes.ts. This is a minor detail though.
Thanks for your work!

@silvanheller silvanheller merged commit ebaa5d8 into master Apr 6, 2022
@silvanheller silvanheller deleted the type-bool-queries branch April 6, 2022 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants