pantheon-systems / solr-power

A WordPress plugin to connect to Pantheon's Apache Solr search infrastructure, or your own!
https://wordpress.org/plugins/solr-power/
GNU General Public License v2.0
126 stars 61 forks source link

Is WPML compatible with Pantheon Solr #381

Closed aaman closed 6 years ago

aaman commented 6 years ago

Hi,

I have a Wordpress website that is built using ACF and WPML for translations between English and French. I installed the Pantheon Solr plugin and it is able to index my posts and pages for English but it is not able to index my French pages?

Is there an additional configuration that I have to add or is WPML not supported?

ataylorme commented 6 years ago

Hi @aaman, I don't have much experience with WPML but according to their documentation the WPML plugin stores translation data in a custom database table.

Unfortunately, because the translations are stored in a custom database table, outside of the normal WordPress data storage, it is out of scope for the Solr Power plugin.

Solr Power only supports WordPress default data storage (custom post types, meta data, taxonomies, etc.).

It may be possible to get the data into Solr but you would need to work with Solr directly as the Solr Power plugin does not handle custom data like this.

The Solarium library, which Solr Power is built on top of, will likely be useful.

Good luck and please let us know if you get it working as we can document the solution for future folks using WPML.

aaman commented 6 years ago

Hi @ataylorme thanks for the update