- Issue created by @kurttrowbridge
- 🇫🇷France guignonv Montpellier
- Could you provide a way to reproduce your problem on a fresh install?
- What storage client(s) do you use? Is it set to "read only"?
- Did you system use to work before or has it been like that all the time? (When did that change?)
- May your storage source be unavailable from times to times? (leading to external entities not being loaded)
- Do you use translation? (Content index: "entity:discourse_post/8:und" makes me think you do not. I would not see a direct reason explaining your issue but language management in xntt is a thing that recently changed)
It appears to be related to the way Search API works. A deep understanding of how it works is needed. For instance, I don't know if, when you access and indexed item, Search API tries to update it from external content and if that content is not available (even momentarily), it would clear the item. It's a lot of investigation work and I don't have much time so you'll need to provide me as much information as you can on how your system works.
If it is too complicated to solve, I would consider using the Xntt Manager → instead of search API in this case. It can be used to synchronize (ie. similar to Search API indexing) local Drupal content entity with external entities content. You can do it manually or using a cron to do it periodically. Then, you can use those "synchronized" content entity as you wish. If you synchronized to a node type content, you can use all features available on nodes. It could be a simple alternative (which can be deployed in parallel for testing). Keep me tuned.
- 🇺🇸United States kurttrowbridge
Hi! Thanks for the detailed response. I continued to try to figure out why the entities were becoming unavailable in the Search API index, but ended up taking your advice to use External Entities Manager instead, and that seems to be working well. I'm still able to do what I need with indexing and adding an additional Search API processor, just based on the nodes in the synced content type rather than the external entities. Thanks again!