Forum Replies Created
-
pseudo visitorParticipant8 years ago in reply to: Optimizations to index a million WooCommerce products #6852
Yes, the database is not optimized and this is why I am getting a slow speed. The batch size is also 1000.
pseudo visitorParticipant8 years ago in reply to: Optimizations to index a million WooCommerce products #6850It worked.
I just increased the Memory limit to 60 GB on 64 GB RAM server and as of now, I am getting a speed of 1,000 per minute. I hope it will be completed by tomorrow.
Meanwhile, please let me know how to test the imports. I can see a total of 20,000 products imported.
pseudo visitorParticipant8 years ago in reply to: Optimizations to index a million WooCommerce products #6848We are using Runcloud to manage the website server.
Both the website and Elasticsearch are hosted on Digitalocean.
The synchronization speed is very slow and I believe entering the right PHP and FMP settings will help.
We will try with this first.
pseudo visitorParticipant8 years ago in reply to: Optimizations to index a million WooCommerce products #6847It is not related to WPSOLR (Your Elasticsearch server being hosted elsewhere).
You should ask to WordPress performance specialists, like https://www.wpintense.com/.
pseudo visitorParticipant8 years ago in reply to: Install Elasticsearch with the Wodby stack #6844I added a video tutorial for creating a Wodby index:
/guide/configuration-step-by-step-schematic/elasticsearch-hosting/
pseudo visitorParticipant8 years ago in reply to: Index a custom field with the values of an ACF repeated field #6840Here is a piece of code using WPSOLR’s filter /guide/actions-and-filters/index-modify-a-document/.
Modify and copy the following code into your theme’s functions.php, or in a new small plugin.
use wpsolr\core\classes\WPSOLR_Events; use wpsolr\core\classes\WpSolrSchema; add_action( 'after_setup_theme', function () { add_filter( WPSOLR_Events::WPSOLR_FILTER_SOLARIUM_DOCUMENT_FOR_UPDATE, 'wpsolr_filter_solarium_document_for_update', 10, 5 ); } ); /** * * @param array $document_for_update * @param $solr_indexing_options * @param $post * @param $attachment_body * @param WPSOLR_AbstractIndexClient $search_engine_client * * @return array Document updated with fields */ function wpsolr_filter_solarium_document_for_update( array $document_for_update, $solr_indexing_options, $post, $attachment_body, WPSOLR_AbstractIndexClient $search_engine_client ) { $solr_dynamic_type = WpSolrSchema::_SOLR_DYNAMIC_TYPE_STRING; // Depends on the type selected on your field on screen 2.2 $document_for_update[ 'my_field_name' . $solr_dynamic_type] = 'whatever'; return $document_for_update; }pseudo visitorParticipant8 years ago in reply to: Search is not working at all #6836Working now!
pseudo visitorParticipant8 years ago in reply to: Search is not working at all #6834Done.
pseudo visitorParticipant8 years ago in reply to: Search is not working at all #6832Still no change.
pseudo visitorParticipant8 years ago in reply to: Search is not working at all #6830It is not showing me the expected amount of search results and neither the predefined number of results per page.
pseudo visitorParticipant8 years ago in reply to: Change the number of facets content displayed in the widget #6817I have updated that value but it did not work.
pseudo visitorParticipant8 years ago in reply to: Amazon like search ? #6811How do I measure my theme rendering speed? Could that be bypassed?
pseudo visitorParticipant8 years ago in reply to: Amazon like search ? #6809What do you mean by site general speed? Is that server response time?
pseudo visitorParticipant8 years ago in reply to: Elasticsearch setup on Cloudways.com #6787Now it is Indexed.
However I don’t think the WPSOLR search is working.
pseudo visitorParticipant8 years ago in reply to: Elasticsearch setup on Cloudways.com #6784Please check your Javascript (chome/firefox) console.
WPSOLR could have issued an error message for you to read.