nextcloud / nextcloud/fulltextsearch
No thumbnails in search results
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 234
- Forks
- 64
- Avg merge
- 6h 18m
- Merged PRs (30d)
- 10
Description
Steps to reproduce
- Create test folder with different types of files with the same name (pdf, jpg, docx, txt, md, etc.)
- Wait for indexing and search for specified name with "In current folder" option ticked.
- The difference between thumbnails should be visible.
Expected behaviour
Search results should display thumbnails like in Files app, previews for supported files and icons for other.

Actual behaviour
Files' thumbnails in search results are only displayed for jpg, png and txt files (previews), there is no icons for docx, xslx, pptx, pdf, md and others.

Server configuration
Operating system: Ubuntu 18.04 LTS
Web server: Apache
Database: MariaDB 10.1.44
PHP version: 7.3.13
Nextcloud version: 17.0.3
Full text search version: 1.3.8
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 reproducing the search in the issue with files sharing a name, using the “In current folder” option, and inspect how search results choose thumbnails or icons. Compare the result handling for JPG, PNG, TXT, DOCX, XLSX, PPTX, PDF, and Markdown files. Done means supported files show previews and other files show icons, consistently with the Files app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100