hydrusnetwork / hydrusnetwork/hydrus
Search Management - Strip '(wildcard search)' from copied 'OR' statements
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.2k
- Forks
- 207
- PR merge metrics
- No merged PRs in 30d
Description
Tweaking an existing OR statement, specifically those appended with (wildcard search), is particularly painful.
Say I click the OR button and type: face* OR hand* OR *sky*.
The result will have multiple (wildcard search) text appended to each and end up being *sky* (wildcard search) OR hand* (wildcard search) OR face* (wildcard search) which is fine until I want to copy-paste the entry anywhere else.
Attempting to paste will carry the (wildcard search) text along with it where it interferes with normal searching as well as inside the OR parser itself.
I recommend stripping out or somehow handle the (wildcard search) text when these queries are copied.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Search Management OR button and follow the code that builds OR statements and feeds them to the OR parser. Reproduce a wildcard query such as face* OR hand* OR sky, then trace how the result is copied. Done means copied statements no longer include “(wildcard search)” and still work in normal searching and the OR parser.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- search
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100