nextcloud / nextcloud/contacts
Order / Priority of Search Results
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 642
- Forks
- 221
- Avg merge
- 14h 39m
- Merged PRs (30d)
- 51
Description
Hi,
it is great that the unified search looks into all fields of the contacts.
But it leads to many results, which are sorted by the contact name(?).
I think it would be nice to prioritize the search results:
- "First show hits where search string is in the name field".
To give an example: We have many contacts with the word "operator" in title or notes.
When I search for a contact by the name "Pera", it is far down the list, after all operators with names from A to P.
This situation happens quite a lot, not only with Pera ;-)
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 locating the unified contact search and the code that orders its results. Confirm how matches in the name field are identified and prioritized over matches in titles or notes; done means name matches appear first while the existing search still finds matches across all contact fields.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, search
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100