I’m hoping to get some help on how to implement a search where users can enter
- boolean criteria (main focus)
- attribute that the search term should apply to
At the very least, I would really be grateful for what I should be looking up or whether there are any libraries available that can help with this. What I have found so far are articles that suggest using NLP which I really don’t think is what I need.
As reference, on https://pmc.ncbi.nlm.nih.gov/, I can enter into the search a query like
(ozempic[Title] AND diabetes[Title]) NOT obesity[Title]
to specify that I want only articles where the title contains both the words ozempic and diabetes but not the word obesity.
Similarly, on https://github.com/paperless-ngx/paperless-ngx/issues, I can enter the search query
is:issue is:closed in:title email
to filter all issues that have the word email in the title.
Edit: The user interface maybe a web browser, GUI desktop application, CLI, etc
submitted by /u/JuniorMouse
[link] [comments]
r/learnpython I’m hoping to get some help on how to implement a search where users can enter boolean criteria (main focus) attribute that the search term should apply to At the very least, I would really be grateful for what I should be looking up or whether there are any libraries available that can help with this. What I have found so far are articles that suggest using NLP which I really don’t think is what I need. As reference, on https://pmc.ncbi.nlm.nih.gov/, I can enter into the search a query like (ozempic[Title] AND diabetes[Title]) NOT obesity[Title] to specify that I want only articles where the title contains both the words ozempic and diabetes but not the word obesity. Similarly, on https://github.com/paperless-ngx/paperless-ngx/issues, I can enter the search query is:issue is:closed in:title email to filter all issues that have the word email in the title. Edit: The user interface maybe a web browser, GUI desktop application, CLI, etc submitted by /u/JuniorMouse [link] [comments]
I’m hoping to get some help on how to implement a search where users can enter
- boolean criteria (main focus)
- attribute that the search term should apply to
At the very least, I would really be grateful for what I should be looking up or whether there are any libraries available that can help with this. What I have found so far are articles that suggest using NLP which I really don’t think is what I need.
As reference, on https://pmc.ncbi.nlm.nih.gov/, I can enter into the search a query like
(ozempic[Title] AND diabetes[Title]) NOT obesity[Title]
to specify that I want only articles where the title contains both the words ozempic and diabetes but not the word obesity.
Similarly, on https://github.com/paperless-ngx/paperless-ngx/issues, I can enter the search query
is:issue is:closed in:title email
to filter all issues that have the word email in the title.
Edit: The user interface maybe a web browser, GUI desktop application, CLI, etc
submitted by /u/JuniorMouse
[link] [comments]