nextcloud / nextcloud/mail

general search returns mails without the search term

Open
#9,171 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. to triage bug filter:search
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Steps to reproduce
  1. install and configure mail 3.5
  2. send en email to the address
  3. search for terms which are not in the email header or body
  4. random emails show up. (probably "important" ones
  5. files with the search term in names are shown
Expected behavior

only mails with the search term should be displayed.

Actual behavior

show only mails with search term

Mail app version

5.3

Mailserver or service

world4you and others

Operating system

No response

PHP engine version

PHP 8.2

Web server

None

Database

MySQL

Additional info

running on Hetzner service NC 27.1.2

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 reproducing general search with terms absent from the email header and body, while checking the reported Mail app, PHP, and MySQL versions. Compare the results with filenames containing the term; done means unrelated emails and files are no longer returned.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, php
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.