=== Super Speedy Search === == Changelog == = 2.09 (22nd October 2020) = * Fixed bug with non-full text search which was causing searches to only search LIKE 'xxx%' rather than LIKE '%xxx%' = 2.08 (30th September 2020) = * Added new WPI Settings page where users can enter their license key to enable plugin updates = 2.07 (2nd September 2020) = * Removed superfluous plugin links on wp-admin -> plugins page * Altered wp_postmeta SQL to use nested IN rather than WHERE EXISTS - this improved speed AND fixed the related bug with FWW = 2.06 (15th July 2020) = * Fixed bug in multisite detection so that fulltext search will work properly in networked sites * Fixed issue with shortcode when restricting results to specific taxonomies, this was causing WP_Query to add AND (0 = 1) = 2.05 (24th June 2020) = * Added tax and taxslugs parameters to superspeedysearch shortcode - if you use [superspeedysearch tax="product_cat" taxslugs="dogs"] then this search box will restrict the searches to the product category dogs only = 2.04 (23rd June 2020) = * Re-added ajax capability to widget (ajax still only works for WooCommerce archives) * Removed unused fields from widget * Fixed broken 'spinner' when ajax searching * Fixed post_type URL parameter so search result template will be picked up properly * Added wildcard searching on fulltext indexes by default - very little perf difference, so on by default as it IS expected behaviour by most people * Cleaned up JS a bit, removing unused variables and URL parameters to make search results page cleaner * Removed keyup ajax detection when enter key hit - this allows user to hit enter to actually go to fresh new page if they wish, rather than just the ajaxed page = 2.03 Beta (22nd June 2020) = * Added multisite compatibility * Added cache to settings page so 2nd+ visits on same day will be fast (it's slow to look up all the possible meta fields) = 2.02 Beta (26th May 2020) = * Fixed empty result sets when using tokens < 3 characters (will improve further to allow this to be configurable if you alter minimum token size in mysql config) = 2.01 Beta (22nd April 2020) = * Added automatic inclusion of subchildren of taxonomies. If user searches for Dresses, it will match products within Dresses->Formalwear rather than just at ->Dresses = 2.00 Beta (16th April 2020) = * Complete overhaul of settings page to allow full config over what to search * Search posts, custom posts, taxonomies, or attributes * Reduced 3 fulltext indexes to 1 to save space (user needs to click button to create the required fulltext index after config) * Improved accuracy of search by using token1+ token2+ to require both tokens but any spacing apart in the searched index * Improved speed of fulltext search - now on foundthru (800,000 products) the fulltext search takes about 100 milliseconds https://foundthru.com/?s=harry+potter&post_type=product * Search has been made fully compatible with latest beta of Faster Woo Widgets so it's easy to drill down on search results - e.g. https://foundthru.com/?s=harry+potter&post_type=product shows toys, books and games * Product counts in Faster Woo Widgets sidebar now reflect the Super Speedy Search results * Added check against in-stock products according to WooCommerce config * Added options for users to use standard LIKE operator (definitely not recommended!) = 1.27 (7th August 2019) = * Fixed activation issue causing index to not be created! = 1.26 (25th June 2019) = * Fixed warning notice when changing settings for widget in wp-admin -> Appearance = 1.25 (4th March 2019) = * Added new fulltext index to wp_postmeta - currently used in orders search * Removed meta_tag list on settings page - was too slow = 1.24 (6th October 2018) = * Hotfix to fix search adding products to empty archive page (including pagination, so scrolling and pagination will work) = 1.23 (6th October 2018) = * Improved code so it never replaces the text box in the sidebar (was happening in some themes), so now you can keep typing with ajax * Increased the time to wait for user to stop typing to 200ms to reduce load on server * Improved compatibility with auto infinite scroll * Fixed issue where ajax stopped working if a search returned 0 products and then user continued typing - now ajax works instead of page refreshing to new page * Fixed issue where products were disappearing sometimes * Fixed issue where text box was not remaining populated in the widget on page refresh * Fixed issue where if a search returned only 1 item, woocommerce was preventing it appearing in the ajax search results * Added available meta_fields to settings page as a convenience so it's easier to build your list of searchable meta data = 1.22 (24th May 2018) = * Added full wildcard option for users who need to search attributes * Re-added ajax search option (now working properly) = 1.21 (23rd January 2018) = * Fixed deactivation error that would occur if user had not created fulltext index somehow = 1.20 (17th January 2018) = * Added superspeedysearch shortcode * Added extra info to settings page to explain meta_keys (_sku most common) * Added JS to strip leading # for users using that to search SKUs = 1.19 (4th January 2018) = * Removed unused shortcode option * Removed 'search as you type' - was causing too many bugs - will re-introduce along with auto-complete - i.e. for slow typers, we'll guess what they're typing, auto-complete and auto-search. Otherwise empty results appear and the search box clears. * Altered default search to 'best relevance' (even when widget not used) * Added 2 new sorting options - sort by recent items and sort by relevance + date weight * Added settings page to allow non-widget search to be configured * Added option to disable ajax and send userst to normal search results page = 1.18 (22nd December 2017) = * Fixed bug preventing proper use of search templates when more than one post_type searched * Fixed bug when widget used on page which contained 'related products' but no actual products archive (was filling the related products instead of the archive) * Added 'relevancy' sort ordering to admin page and back end search results - now users can choose to order by a variety of relevancy scores = 1.17 (30th November 2017) = * Added JS trigger event after Super Speedy Search complete called super-speedy-search-complete - useful for other developers who implement things like lazy load in their themes so that their code can run after super speedy search has updated the page * Added search placeholder text option for customisation and internationalisation * Added search button text option too * Added option to allow searching of wp_postmeta - admin can choose meta_keys to search = 1.16 = * Improved speed when user hits ENTER (instead of waiting 450ms after keypress) * Fixed widget on non-archive pages, now search redirects to traditional search results pages