nextcloud / nextcloud/context_chat

Preferential indexing

Open
#251 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement priority: normal
Dominant language
PHP
Stars
29
Forks
12
Avg merge
4d 4h
Merged PRs (30d)
5

Description

Describe the feature you'd like to request

The files crawled from all the mounts are stored in a queue in the PHP side. They are downloaded and processed in first-in-first-out FIFO manner so the first ones added to the queue get indexed first. Not e that this does not refer to the oldest files in creation/modified times.

Thanks @miaulalala

Describe the solution you'd like

It might make sense to optimise this to

  1. provide priority to the recently created/modified files
  2. provide priority to the easy to ingest files like markdown and text files as opposed to pdf files which are heavy on text extraction
Describe alternatives you've considered

/

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 locating the PHP-side FIFO queue and the indexing pipeline; the issue does not name specific files or tests. Determine how queue priority could account for recent changes and ingestion cost, then verify that eligible files are processed in the intended priority order without losing queued work.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.