nextcloud / nextcloud/fulltextsearch

Ignore words with little information content

Open
#95 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

To decrease the cpu load (and improve scoring) when searching, words with little content should be ignored unless an exact search is done. One way to do that is to crate a list of particles. To make that independent on the language it could default to ignore the n lowest ranked words, meaning those words with the highest frequency. I guess n=10 to 20 would be appropriate. Of course the list and the rank could be combined.

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

The issue names no files, tests, or entry points. Start by locating the search token-ranking and exact-search handling, then determine how frequency-based filtering could be configured without affecting exact searches; done should include a defined ranking or particle-list behavior and tests for both search modes.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
search
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.