nextcloud / nextcloud/fulltextsearch

need help to index only a file (index with "path" command, how to ?)

Open
#548 0 comments 0 reactions 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

Hi,
i'm searching since a couple of days but with no luck..

what is the commande to index only a file ???

sudo -u www-data php occ fulltextsearch:index "{"path": "MYUSER/files/Documents\abc.pdf"}"

= not indexed... don t know whats wrong ?

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

Review the occ fulltextsearch:index command and its path argument using the exact command shown in the issue; verify whether the JSON and path syntax are accepted and whether the target path is relative to the user's files. Done means documenting a working single-file invocation or clarifying that the command cannot index one file.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cli
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.