Forum Replies Created
- pridigitalParticipant1 month, 1 week ago in reply to: Reactivate license #41062
I was told before you’ll need to remove it from your database so I can reactivate.
pridigitalParticipant1 month, 3 weeks ago in reply to: Filtering Issue with Child Terms and ‘OR’ Setting #40261Do you plan to make this work with select2.js as well?
pridigitalParticipant2 months, 2 weeks ago in reply to: Filtering Issue with Child Terms and ‘OR’ Setting #39340Also, are you adding the single products to the “Men’s Hats” term only or to “Clothing”, “Men’s Clothing” and “Men’s Hats” terms?
pridigitalParticipant2 months, 2 weeks ago in reply to: Filtering Issue with Child Terms and ‘OR’ Setting #39339Would you mind changing the “layout settings” for the facet from “checkbox” to “select2.js” and check if you experience the same behavior? Because I’m still having this issue on my site and that seems to be the only difference.
pridigitalParticipant3 months, 2 weeks ago in reply to: Filtering Issue with Child Terms and ‘OR’ Setting #38523Please visit the demo link you provided. Once there select the “Men’s Hat” and the “Men’s Shoes” filters. Both filters show products from the “Men’s Clothing” term, right?
Visit the same link in another tab but this time select only the “Men’s Clothing” term. In the demo the products don’t seem to be connected directly to the “Men’s Clothing” term. Therefore you see a message that says “No products were found matching your selection.”, right?
Our current issue arises from our products being associated with both “Men’s Clothing” and either “Men’s Hat” or “Men’s Shoes.” This causes an error when employing the OR filter logic. When all three terms are chosen simultaneously (parent + child 1 + child 2), the results are the same as selecting only two terms (parent + child x).
We believe a more logical solution would involve disregarding the parent term when selecting child terms. Does this clarification make sense?
- This reply was modified 3 months, 2 weeks ago by pridigital.
pridigitalParticipant5 months, 1 week ago in reply to: License Activation Across Live and Test Environments #37580The license I bought says it can be used it in 4 different sites, but I keep getting the following error.
The license is already activated on site “LIVE SITE URL”, while your current site is “DEV SITE URL”. Deactivate your license before trying activating it again.
Please help
pridigitalParticipant5 months, 2 weeks ago in reply to: Database Query Performance Optimization for Slow Loading Results #37502Here’s a better example
$transient = 'some_unique_key'; if ( false === ( $results = get_transient( $transient ) ) ) { $sql = $wpdb->prepare( "SELECT distinct meta_key, meta_value FROM $wpdb->postmeta WHERE meta_key LIKE %s AND meta_value like %s", array( '_%', 'field_%' ) ); $results = $wpdb->get_results( $sql ); set_transient( $transient, $results, DAY_IN_SECONDS ); }
- This reply was modified 5 months, 2 weeks ago by pridigital. Reason: format
pridigitalParticipant5 months, 2 weeks ago in reply to: Database Query Performance Optimization for Slow Loading Results #37500Would adding something like this to the class-wpsolr-plugin-acf.php:219 file help?
`
if ( false === ( $results = get_transient( ‘some_unique_key’ ) ) ) {
$sql = $wpdb->prepare( “SELECT distinct meta_key, meta_value
FROM $wpdb->postmeta
WHERE meta_key LIKE %s
AND meta_value like %s”, ‘_%’, ‘field_%’ );
$results = $wpdb->get_results( $sql );set_transient( ‘some_unique_key’, $results, 864000 );
}
`
- This reply was modified 5 months, 2 weeks ago by pridigital.
pridigitalParticipant5 months, 2 weeks ago in reply to: Filtering Issue with Child Terms and ‘OR’ Setting #37497It’s quite strange. I’ve applied the settings you provided to my website, and they function correctly in the demo. However, I’m encountering a problem where, upon selecting the “Men’s Hat” filter, it displays items marked as both “Men’s Clothing” and “Clothing” instead of narrowing down the results. Just wanted to mention that I’m using Opensolr and select2js, although I’m not sure if that’s relevant. Any ideas?
- This reply was modified 5 months, 2 weeks ago by pridigital.
pridigitalParticipant5 months, 2 weeks ago in reply to: Filtering Issue with Child Terms and ‘OR’ Setting #37490Can you please share a screenshot of how the facets are configured in the example you shared? Thanks
pridigitalParticipant5 months, 2 weeks ago in reply to: Assistance Needed for Opensolr.com Resilient Cluster Setup #37489No, OpenSolr said to me the only support Solr 8 at the moment.
pridigitalParticipant5 months, 3 weeks ago in reply to: Persistent Error and Indexing Process #37481They did and this is what they said.
This is not an Opensolr issue unfortunately.
For your reference, we have had other sudden WP Solr related issues, where everything was working OK, and suddenly there are all types of indexing issues.
This has to do with the Solr configuration files that WP Solr provides.
More to the point, you should perhaps report this field (below) to WP Solr and others like that, where it uses parameters as useDocValuesAsStored docValues, etc, for string fields.
This most likely makes no sense to you, but we have reported this and other configuration flaws to WP Solr, however there was no fix.
Unfortunately, there is nothing we can do to fix those as those are provisioned and provided by WP Solr, Drupal and any other provider of such Solr plugins.
We only provide the Solr platform as it is, so we have no control over those configuration files.<dynamicField name=”*_str” type=”strings” stored=”false” docValues=”true” indexed=”false”
useDocValuesAsStored=”false”/>To try to tell what would fix this for you, would be guess work, as we did fix this before by removing docValues and useDocValuesAsStored from your schema.xml in your Opensolr index, but that might lead to other regression issues, since, again, we do not control the way WP Solr works and integrates with Solr.
Hope this helps.
pridigitalParticipant5 months, 3 weeks ago in reply to: Indexing Process #37479pridigitalParticipant5 months, 3 weeks ago in reply to: Persistent Error and Indexing Process #37476I’m already using opensolr.com. Shouldn’t WPSolr render the WP_Query as a fallback or something instead of stoping the rendering of the entire page?
pridigitalParticipant5 months, 3 weeks ago in reply to: Persistent Error and Indexing Process #37472We followed the same process as before. Is there a way to prevent a recurrence of this issue? It effectively disrupts the site’s functionality and fails to render the HTML template. Additionally, any insights into why the entries aren’t indexing automatically?