search xx return unexpected results
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.1k
- Forks
- 233
- Avg merge
- 1h 44m
- Merged PRs (30d)
- 1
Description
Looking at khalendar/backend.py, I see, the reason for that is that my string 'xx' matches part of the UID which is surprising. I expected it to look at summary and description. I guess, it's not technically a bug as neither the command or the man page says anything but "Search for events matching".
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 by reading the search-related code in khalendar/backend.py and compare it with the command and man-page wording, which currently only says “Search for events matching.” Define the intended searchable fields, then verify that searching for “xx” matches event summaries and descriptions without unexpectedly matching the UID.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100