Italian stemming with Elasticsearch or Apache Solr ?

  • Antonio Di Rollo
    Participant
    5 years, 4 months ago #26856

    Hi we are an Italian e-commerce.
    We currently use a professional search plugin but it does not allow “stemming” in the search. So the search is sensitive to singular and plural words. It is a problem that limits the results. We would like to switch to a search with Elasticsearch or with Apasce Solr.
    Which of these solutions do you recommend given the high number of products in our store?
    Which of the two has an index for the Italian language that allows stemming?
    Do you need to insert code in the server for your plugin to work properly?
    Thanks so much for the support

    wpsolr
    Keymaster
    5 years, 4 months ago #26857

    Solr and Elasticsearch are very similar.

    But in WPSOLR you can choose “Italian” during the Elasticsearch index creation, which will activate the default Italian analyser https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-lang-analyzer.html#italian-analyzer

    For Solr, unfortunately, this has to be done manually as shown in https://solr.apache.org/guide/8_0/language-analysis.html#italian, because there are no pre-packaged language analysers.

    Algolia, as Elasticsearch, also provides a default Italian configuration https://www.algolia.com/doc/api-reference/api-parameters/naturalLanguages/, available in WPSOLR as a list.

    • This reply was modified 5 years, 4 months ago by wpsolr.
    • This reply was modified 5 years, 4 months ago by wpsolr.
    Antonio Di Rollo
    Participant
    5 years, 4 months ago #26860

    Gentilmente per il funzionamento del plugin va inserito del codice nel server? o è sufficiente l installazione del vostro plugin?
    Cordiali Saluti

    wpsolr
    Keymaster
    5 years, 4 months ago #26861

    You need to instal an Elasticsearch server on your host, or hire one hosted.
    /guide/configuration-step-by-step-schematic/elasticsearch-hosting/

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.