Search Keyword Length

Hi,

I’m stuck with the problem of searching.

There is a text file in my OwnCloud Server, the content is:

this is an apple.
my name is JK.

When I search for “this”, or “apple”, I can search for results.
When I search for “an”, or “JK”, there are no results.

It seems that when the keyword is less than or equal to 2 characters in length, no results can be found.

This is important in Chinese because many Chinese words are two characters long.

I have added the parameter search_min_length=2 in the configuration file config.php, but it doesn’t work.
I have enabled elasticsearch for full text search.

Please help. Thanks.

Server configuration

Operating system: debian 11

Web server: apache

Database: mariadb 10.6

PHP version: PHP 7.4.3 (cli)

ownCloud version: ownCloud 10.11.0

Updated from an older ownCloud or fresh install:

Where did you install ownCloud from: owncloud docker

Signing status (ownCloud 9.0 and above):

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.