Forum Replies Created
- sean-tintworldParticipant3 years, 8 months ago in reply to: Toolset Implementation Question #21493
@keymaster – really? Is there any workaround to supporting post type relationships? I want to utilize WP Solr for a simple rollout of a Solr/ElasticSearch index to help speed up processing (we have a lot of WooCommerce attributes.) Our catalog is primarily automotive, so I leveraged the post relationships to essentially map a many >=< many relationship of products to year,make,model fitment.
My current implementation is hooking into the pre_get_posts filter to modify the initial WP Query before it gets to Toolset’s “query.” So prior to loading a product category or other taxonomy archive, if the user is looking for products for a specific vehicle – it returns a subset of the “raw” query (relationship matches inside the selected archive) before it loads/pulls the facets/filters.
Would there be anyway to create Solr indexes using your system to help with a similar logic flow? Or are you suggesting I would need a custom solution? Is there any modifications or extensions to your software that would help me achieve the goal?
As a note, not opposed to alternative suggestions if you have a different approach. This just seemed like the most seamless and also allow us to create vehicle pages where users can sort through all products for their specific vehicle.
Thanks.