Polish language
-
matteo.costabeberParticipant2 months, 2 weeks ago #35160
G’day,
I’m usins wpsolr in many languages on aws opensearch and all works great,
but I cannot insert Polish language, I don’t find it in the languages list,could you please help me?
ThankswpsolrKeymaster2 months, 2 weeks ago #35161Polish does not appear to be supported: https://opensearch.org/docs/latest/query-dsl/analyzers/language-analyzers/
matteo.costabeberParticipant2 months, 2 weeks ago #35163It’s right but there is the plugin “Stempel Polish Analysis” for opensearch,
for example in AWS opensearch it is intalled by defautl in the instances
https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-plugins.htmlwpsolrKeymaster2 months, 2 weeks ago #35164You’ll need to create your index manually, using and modifying the default plugin’s schema file /plugins/wpsolr-pro/wpsolr-pro/wpsolr/core/classes/engines/opensearch_php/wpsolr_index_1_0.json with the right analyser as shown here: https://www.elastic.co/guide/en/elasticsearch/plugins/current/analysis-stempel.html.
The configuration file contains 2 variables to replace: {{wpsolr_default_index_analyser}} and {{wpsolr_default_search_analyser}}
matteo.costabeberParticipant2 months, 2 weeks ago #35165ok, what values i need to put fot those variables?
after that how can i configure wpsolr if polish languages isn’t present in the list?
and the other languages will be affected?wpsolrKeymaster2 months, 2 weeks ago #35166(from https://www.elastic.co/guide/en/elasticsearch/plugins/current/analysis-stempel.html)
The plugin provides the ‘polish’ analyzer and the ‘polish_stem’ and ‘polish_stop’ token filters, which are not configurable.
‘polish’ is probably what you need for you new manually created index.
after that how can i configure wpsolr if polish languages isn’t present in the list?
When an index already exists, WPSOLR does not update its backend configuration when you save it in screen “0. Connect your indexes”. You can select language “en”, it will not be used.
matteo.costabeberParticipant2 months, 2 weeks ago #35167sorry I don’t understand, I’m usign english index and many more languages in wpsolr configuration,
I don’t undestand ater creating opensearch index how to configure in backend wpsorlwpsolrKeymaster2 months, 2 weeks ago #35168Here is the procedure:
1. You create your index manually, with the custom configuration, in your AWS dashboard. Let say the index name is “my_pl_index”.
2. You create the index configuration in WPSOLR’s “0. Connect your indexes” screen, with the same Search engine index name “my_pl_index”. The trick here is that WPSOLR will find this index in your AWS cluster, and will not try to update its current configuration
3. You use the new index in WPSOLR as usual.
You must be logged in to reply to this topic.