From 315b832420eb8314e809b1c0f549304d423b45f3 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Sat, 26 Aug 2023 12:13:28 +0700 Subject: Create apache solr queue and implement to product.template and website.categories.homepage --- indoteknik_custom/views/apache_solr_queue.xml | 74 +++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 indoteknik_custom/views/apache_solr_queue.xml (limited to 'indoteknik_custom/views/apache_solr_queue.xml') diff --git a/indoteknik_custom/views/apache_solr_queue.xml b/indoteknik_custom/views/apache_solr_queue.xml new file mode 100644 index 00000000..092871d6 --- /dev/null +++ b/indoteknik_custom/views/apache_solr_queue.xml @@ -0,0 +1,74 @@ + + + apache.solr.queue.tree + apache.solr.queue + + + + + + + + + + + + + + + apache.solr.queue.search + apache.solr.queue + primary + + + + + + + + + + + + Solr Queue + apache.solr.queue + + {'search_default_active_queue': 1} + tree + + + + + + Execute + + + code + records.execute_queue() + + + + + Solr Queue: Process + 6 + minutes + -1 + + + model.process_queue_item(limit=100) + code + 55 + True + + + \ No newline at end of file -- cgit v1.2.3