• Resolved Jorgu5

    (@internetoholik)


    Hey,

    Having a question about the Multi-site support. We have a Woocommerce store based on multi-site and indexing the products/categories into the Algolia for each multi-site instance separately and it works great on the front-end. It’s showing only the products/categories from this specific instance.

    The problem is, that it works great for a small bunch of time, and not sure, at which step, the plugin is starting to work on its own and reindexing it again? As after 2-3 days, suddenly the records from one index are growing and taking the items from other instances and we are ending up showing results from different languages on one instance. Re-indexing it manually, fixes the problem, but after couple of days, indexes are starting growing again taking the from other languages…

    Why is that happening?

    Best,
    T.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hey @internetoholik

    Can you provide or confirm some more specifics on your algolia setup?

    For example are you using one index for all of the sites? or does each get their own prefix allowing for their own indices.

    Some feedback from others who help with the plugin:

    The only way the indexes will change via the plugin, is if they publish new content, which will be indexed on publish), edit or delete existing content, which will be indexed on update, or removed from the index on delete, or they trigger indexing by clicking a button in the plugin’s settings pages, or via the WP-CLI command. I.E., there is no WP_Cron in the plugin today, so it doesn’t just randomly kick off indexing on it’s own (today).

    .

    Thread Starter Jorgu5

    (@internetoholik)

    I see now! So it’s probably happening from editing and publishing content, but why it’s indexing the other language instead of the current instance? And why everything is working when manually re-indexing the products again? There must be some glitch.

    We are using a separate index for each site, each has its own prefix.

    • This reply was modified 3 years, 2 months ago by Jorgu5.
    • This reply was modified 3 years, 2 months ago by Jorgu5.
    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Not quite following on the other language part, unless perhaps multisite is being used to house separate languages in each site? Site 1 is english, site 2 is spanish, etc?

    Thread Starter Jorgu5

    (@internetoholik)

    Yes, sorry I was not specific on that. Multisite is being used to separate store by different languages with MultilingualPress plugin.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hard to say on that part, as we don’t have anything specifically set up for that type of setup in the plugin. First thing coming to my mind is if somehow the prefixes and whatnot that indicate the language and thus the index aren’t properly lining up, thus content is going to the wrong place.

    Thread Starter Jorgu5

    (@internetoholik)

    OK, looks like we will have to debug it on our own.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Would be curious what may be going on, if you find out the culprit and everything. There’s always chance someone else has a similar setup, and you could end up answering their support request before they even know they have it ??

    Let us know if you need anything else or have followup questions to try and help debug this.

    Thread Starter Jorgu5

    (@internetoholik)

    Sure Michael, I’ll let know here when we resolve the problem or we will create a ticket on GitHub. For now, we have found out, it breaks after saving the product. After the update, it is immediately adding the products from other multi-site instances that are connected through MultilingualPress.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    No worries. Thanks for the followup

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Multisite support’ is closed to new replies.