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

Project type searches from dashboard button clicks are inaccurate #64

Open
dave-shawley opened this issue Feb 28, 2023 · 0 comments
Open

Comments

@dave-shawley
Copy link
Contributor

If a project type contains a non alphanumeric character then the search string should be quoted in the ProjectTypes component. We have two project types with overlapping tokenized slugs -- config-management and config-and-backup. After tokenization the names are [config, management] and [config, and, backup]. Without quotes both search result in the same list since the config term is present in both.

I'm not completely sure which normalization method is being applied to the search but project_type_slug:config-management and project_type_slug:"config-management" have differing results with the latter being correct. IIRC, when you quote a multi-word term it is interpreted as contains each of the words in order. Without the quotes it seems to be interpreted as contains any of the words.

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

No branches or pull requests

1 participant