nextcloud / nextcloud/fulltextsearch
Search within a string or at the end of a string doesn't work
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 234
- Forks
- 64
- Avg merge
- 6h 18m
- Merged PRs (30d)
- 10
Description
Hi,
we have a problem with the full text search plugin, finding parts within (in the middle) or at the end of a word.
For example, I have two files
"Readme.md" with the content SkywalkerYodaJabba
"test.docx" with the content SkywalkerYodaStarwars

If I search for skywalkeryoda, I get two results "test.docx" and "Readme.md" which is correct.

If I search for skywalkeryodastarwars, I get one result "test.docx" which is correct.

If I search for yoda, I get no result

If I search for starwars, I get no result (Pic5)

Tried also case sensitive, but doesn't change results.
Is this behavoir normal and a configuration issue within elasticsearch?
Apps
- Full text search - 1.4.2
- Full text search - Elasticsearch Platform 1.5.2
- Full text search - Files 1.4.3
- Nextcloud 19.0.3
- elasticsearch 7.9.1
Configuration

Perhaps this is only a configuration issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests; first reproduce the searches with the listed Full Text Search, Nextcloud, and Elasticsearch versions and inspect the Elasticsearch configuration shown. Done means searches for terms in the middle or at the end of concatenated words return the expected files, with regression coverage added for the reported examples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elasticsearch, php
- Domain
- backend, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100