?
avatar brianteeman
brianteeman
15 Oct 2019

There is an option for the default language. Why is it set by default to "none" and not "Site Default Language" ??

image

cc @Hackwar @infograf768

avatar brianteeman brianteeman - open - 15 Oct 2019
avatar joomla-cms-bot joomla-cms-bot - change - 15 Oct 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Oct 2019
avatar Hackwar
Hackwar - comment - 15 Oct 2019

This sets the default stemmer and there are situations where you don't want all articles handled by the default language stemmer or don't want a stemmer at all.

avatar brianteeman
brianteeman - comment - 15 Oct 2019

That would explain why its an option, not why Site Default Language is not the default setting. Surely this means that by default there is no stemmer inn use at all

avatar Hackwar
Hackwar - comment - 15 Oct 2019

Indeed. As this is also a matter of performance, it is switched off by default.

avatar brianteeman
brianteeman - comment - 16 Oct 2019

Not a good User experience for this field in that caase

avatar Hackwar
Hackwar - comment - 16 Oct 2019

Yes, I'm happy for support there/suggestions how to improve this.

avatar brianteeman
brianteeman - comment - 17 Oct 2019

Well I would start by having it enabled by default and only switching it off for performance reasons

avatar brianteeman
brianteeman - comment - 28 Oct 2019

When you refer to a performance issue at what point (number of articles?) does this become an issue

avatar Hackwar
Hackwar - comment - 29 Oct 2019

I can't really tell, because it depends on several factors. The stemmer will process every word, so it isn't so much a matter of number of articles, but words to process. Then there is the question of the quality/performance of the stemmer. The stemmers that we are using are rather optimised, but can't say for other implementations which you could install separately. Then there is also the issue of the performance of the server. I've had problems on my local dev environment when installing the testing sampledata due to the indexing.

I also did not do extensive tests how big the performance impact is.

avatar brianteeman
brianteeman - comment - 29 Oct 2019

It just seems really odd to me to have it disabled by default. You usually turn things off for performance as a site grows.

avatar Hackwar
Hackwar - comment - 29 Oct 2019

I didn't want to enable it by default, since it depends on a properly set up site with right language installed and all. If you have a site that is in german, but did never install the german language pack, the stemmer would try to stem german words with the english stemmer.

avatar brianteeman
brianteeman - comment - 20 Dec 2019

If you have a site in german and dont install the language pack then this would be the least of your worries =- all success/error messages etc would be in english

avatar infograf768
infograf768 - comment - 21 Dec 2019

One can have a non-multilingual site which has content in various languages, independent from installed languages and therefore independent from the default site language.
Errors, etc, are totally independent from the contents which is what finder is only concerned with.
The language stemmer choice depends only on installed languages.
The Site Default Language may not have a specific stemmer but it still displays as a choice in the dropdown.

If we follow the tip (I have not tested):
Set the language to be used for non-multilingual sites or content marked as "All".
the or means that the stemmer could also be used on a multilingual site for items set to "All"

This is rather confusing, but the best default is None indeed.

avatar brianteeman brianteeman - change - 20 Jun 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-06-20 15:04:22
Closed_By brianteeman
avatar brianteeman brianteeman - close - 20 Jun 2020
avatar brianteeman
brianteeman - comment - 20 Jun 2020

Closing for the reasons stated by @infograf768 amd @Hackwar

Add a Comment

Login with GitHub to post a comment