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

User : searching with several key words/themes/categories ? #91

Open
image80 opened this issue Oct 15, 2021 · 1 comment
Open

User : searching with several key words/themes/categories ? #91

image80 opened this issue Oct 15, 2021 · 1 comment

Comments

@image80
Copy link

image80 commented Oct 15, 2021

The tool allows to the administrator to set several key words for a table.
But as far as i tested, it is not possible for the user to make a search by entering several key words. (through the locator? throughThe data source manager?)...Or by entering for instance some key words or/and themes and or a category? Am I wrong?

@effjot
Copy link
Contributor

effjot commented Oct 15, 2021

The locator search term is matched against all keywords, categories, and themes. As far as I know, it is not possible to enter multiple search terms in the locator. Maybe the plugin could split the entry in the locator bar (by spaces or commas) into several search terms that are independently matched. That would mean some bigger changes in locator.py, I guess.

You can search for multiple terms at the same time in the data source manager by using regex matching and separating the terms with |. However, at the moment the Postgres comment only contains title, abstract, and category keys (not the “clear text” labels), but not keywords or themes. Maybe these could be added to the Postgres comment (view pgmetadata.v_table_comment_from_metadata)?

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

2 participants