OnTheGoSystems / wpml-elasticpress

WPML ElasticPress adds support for languages in ElasticPress.
GNU General Public License v3.0
10 stars 3 forks source link

Bug: Post's index for the secondary language is empty #40

Open burhandodhy opened 7 months ago

burhandodhy commented 7 months ago

We have received a customer report indicating that the WPML ElasticPress Integration is not working as expected. While debugging the issue, we found that the post's indexes for the secondary language are empty, even though multiple posts are available. We are able to replicate the issue in our local environment. Let me know if there are any further assistance is required.

decodekult commented 7 months ago

Hi Burhan, thanks for the report

Let's try to solve the problem. I will need more information about the site to debug and eventually fix the issue.

You describe that the indexes for the secondary language are empty. Can you elaborate a little? It would thank a short description of the site: what is the primary language and the secondary language? Are there other languages besides those two, and do they have proper indexes?

You mentioned that you were able to replicate this in your local environment. I do not know if that was a replication from scratch, or did you use some kind of exporting/cloning/migration tool to get your client's data to your local development. Would it be possible to get some steps to replicate the issue myself, or even a sample or description of data that I can use?

Thanks in advance :-)

burhandodhy commented 7 months ago

Hi @decodekult,

I took another look after your reply and discovered that this issue only occurs when the "Documents" feature is activated. In terms of my development environment, it only has the WPML and EP plugins.

Steps to reproduce the issue.

decodekult commented 7 months ago

Hi there, Burhan

This helps a lot. Right now, our current implementation does not support the Documents feature. We have a dedicated ticket about it, here. I can not provide an ETA for it at the moment.

I am linking both issues so when we add support for the feature we can also confirm that it solves your issue.

Regards.

gwhitehead commented 5 months ago

Has there been any movement on the issue that has been described here?

decodekult commented 5 months ago

Hi @gwhitehead

No, there has been no movement here yet - I will update this ticket with news when we have some.

arcawebmaster commented 3 months ago

I too am having this issue with 2 very large sites on WPEngine (both fortune 500 companies). Anyway we can get this 'documents' feature working again soon? I swear we had it working for a while before some update came along on WPML or EP side broke it. So since 'current' implementation does not support it previous implementations did. Hoping next implementation is soon and does support it. Thanks for all your development on these tools and for considering getting this feature out soon.

arcawebmaster commented 3 months ago

Also is there a work around? One thing we noticed was we could get English working but then nothing worked in languages beyond that. But if we disable documents we get all languages and English working but with no documents. Ideally we want all languages with documents but if there is a work around to get documents working in main language (english) and regular 'non-document' search working in language simultaneously that would be a work around we could hang tight with for a little while. Suggestions?

decodekult commented 2 months ago

@arcawebmaster there is no workaround yet for this problem since the documents feature requires deep integration which can not be bypassed easily.

This is high on our list, but unfortunately I have no ETA for a fix.