nextcloud / nextcloud/mail

Document advanced search

Open
#2,957 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Feature Request

Adding ability to specifiy the field you want to search

Summary

Actualy, yhe seach feature seem to seach a term in the whole content. It could be nice to specifiy if the searched term need to be in subject or address or body. I,think it should be faster as the field of the search is restricted.

When you click in the searh box, it could provide de dropdown list suggestion to search "all", "from", "to", "subject" and "body".

Sorry if it's a duplicate but I don't found issue on this topic.

Good evening.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing search box and search handling to determine where query fields are interpreted. Define the field choices as all, from, to, subject, and body, then verify that field-restricted searches and the dropdown suggestions work as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.