nextcloud / nextcloud/fulltextsearch

Issue with stemming for single-plural words?

Open
#265 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When you search for a word that exists in plural in a document (English language), i.e. "individuals", you only find it when searching for singular, i.e. "individual"

image

when you search for plural, i.e. "individuals" no entries are found even though the word is in the document.

image

Text is fully extracted correctly:

image

Above example applies to all other plural words as well, i.e. "videos", etc. which are all in the default sample docs that come with a fresh NC installation.

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

No file, test, or entry point is named. Start by reproducing the English full-text search with the sample documents, comparing singular and plural queries such as “individual” and “individuals”; done means plural searches return documents containing the plural word, as singular searches already do.

Written by the indexing model from the issue text.

Assessment

Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.