Forum Replies Created
-
pridigitalParticipant2 years, 11 months ago in reply to: License Activation Across Live and Test Environments #37580
The 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
pridigitalParticipant3 years 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 3 years ago by pridigital. Reason: format
pridigitalParticipant3 years 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 3 years ago by pridigital.
pridigitalParticipant3 years 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 3 years ago by pridigital.
pridigitalParticipant3 years 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
pridigitalParticipant3 years 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.
pridigitalParticipant3 years 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.
pridigitalParticipant3 years ago in reply to: Indexing Process #37479pridigitalParticipant3 years 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?
pridigitalParticipant3 years 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?
pridigitalParticipant3 years ago in reply to: Add debouncing to the suggestions field #37369Is there a way you could give us early access to this feature? Our live website is crashing because of this. Thanks!
pridigitalParticipant3 years, 1 month ago in reply to: Bug when the term name includes the word “OR” #36986Thanks! That solved the issue.
pridigitalParticipant3 years, 1 month ago in reply to: Bug when the term name includes the word “OR” #36952PS: The same issue occurs if the word “and” is used.
pridigitalParticipant3 years, 1 month ago in reply to: Custom sorting facet values #35892Yeap, that did the trick. Thanks!
pridigitalParticipant3 years, 1 month ago in reply to: Bug when filtering taxonomy term as a non logged in user #35814You were right! I’m sorry for the confusion. The Yoast SEO has a new experimental feature called “Remove unregistered URL parameters”. That was causing the bug. Thanks for your support anyway!