nextcloud / nextcloud/fulltextsearch

Extend search API to include a file's tag

Open
#716 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
234
Forks
64
Avg merge
6h 18m
Merged PRs (30d)
10

Description

I had built an Advanced Search application for Nextcloud, in order to enable some very specific file searching that can be quite useful (see some of the examples). I am undergoing a major overhaul to improve the performance of this application and have it show in the search bar instead of in a custom file table. I will then apply to provide it on the App Store.

One aspect of the Advanced Search application is the ability to limit the search to only a file's title or tag. Currently the Full Text Search API enables specifying a search in filename, but cannot specify a file's tag.

Is it feasible to extend the Full Text Search's API to include specifying the tag? That would then make it much easier to layer the Advanced Search application on top of it.

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 with the Full Text Search API documentation linked in the issue and compare its existing filename-search option with the Advanced Search application's tag-search need. Determine the API shape and scope required to filter by a file's tag; done means clients can request tag-limited searches and the behavior is documented and usable by Advanced Search.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.