autosync and different terms issue

  • Bodav
    Participant
    2 years, 6 months ago #28112

    hello
    from time to time i go to the send data column in wpsolr, and i see that large amount of orders/coupons is not being synced. if i manually sync them, i will have all green “v”, but as you can see on the screenshot:
    https://snipboard.io/oZEhz8.jpg
    they seem not to sync manually..
    another query non related, we have 2 different words in hebrew for let’s say the word “jam” (as in jelly/jam food/confiture)
    the product name is for example is “apricote jam”, but a lot of users search the other word let’s say “apricote confiture” and do not find anything. i was thinking asigning tags to those products, and make tags searchable, but this is only one example..i think it will be too many tags. and there are variations of those words, people write them differently. do you have a suggestion wpsolr can help me with that?
    in 2.2 i got this select boxes on top https://snipboard.io/qwacAH.jpg
    what does Index post excerpt and expand shortcodes do? i did not find any difference when it’s on or off?

    thank you again for the top class support !

    wpsolr
    Keymaster
    2 years, 6 months ago #28113

    large amount of orders/coupons is not being synced

    Your data is indexed in real-time, but also marked as “to be indexed”. It is an insurance that all modified data will be indexed, even in the case of a real-time failure (network down, Elasticsearch down …), by just executing a synchronisation from time to time.

    we have 2 different words in hebrew for let’s say the word “jam” (as in jelly/jam food/confiture)

    You need to add synonyms indeed: https://www.wpsolr.com/manage-elasticsearch-and-solr-analyser-configuration-files/.
    But your idea of adding synonyms as tags is quite clever, and should work too.
    I you use Algolia, you can see in your analytics all keywords searched, and also add synonyms manually or automatically (https://www.algolia.com/doc/guides/algolia-ai/dynamic-synonym-suggestions/). Algolia’s dynamic suggestions are not implemented in WPSOLR.
    There are other possibilities, like NLP APIs to generate tags automatically, but this is a full topic on itself. WPSOLR provides some NLP APIs with https://www.wpsolr.com/guide/configuration-step-by-step-schematic/activate-extensions/extension-nlp/ (not sure it can help here though).

    what does Index post excerpt and expand shortcodes do?

    “Index post excerpt” makes your post excerpts indexable and searchable.
    “Expand shortcodes” expands your content shortcodes before indexing them: if a shortcode generates some text, the text will be indexed ans searched with your content.

    Bodav
    Participant
    2 years, 6 months ago #28114

    thank you patrice for the detailed information

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

You must be logged in to reply to this topic.