owncloud / search_elastic

Elasticsearch based full text search
https://github.com/owncloud/search_elastic
GNU General Public License v2.0
8 stars 1 forks source link

if support chinese? #181

Open tbs575 opened 4 years ago

tbs575 commented 4 years ago

this app can support chinese? thanks

phil-davis commented 4 years ago

The automated acceptance tests search for Unicode content, and in files that have Unicode in the filename. The tests happen to use Devanagari script (south-asian). But I expect that any Unicode should work.

https://github.com/owncloud/search_elastic/blob/master/tests/acceptance/features/apiSearchElastic/searchContent.feature#L203

tbs575 commented 3 years ago

@phil-davis how to setup? I did follow step:

  1. git clone https://github.com/owncloud/search_elastic.git download all code
  2. my owncloud server base on docker contain, up owncloud server
  3. 'docker cp search_elastic owncloud:/var/www/owncloud/apps' copy apps into docker container
  4. try to enable full_text server, met 'Cannot include autoload. Did you run install dependencies using composer?' error.
phil-davis commented 3 years ago

You should do the "normal" install process of an app, for example from the admin settings apps UI page. The app that gets installed will already have the needed dependencies.

If you just clone from git, then you have to do whatever "dependency magic" the app needs (yarn, composer... commands)

tbs575 commented 3 years ago

@phil-davis as tested, searching four chinese words is ok. but two words, it is not right. four words image two words: image