by admin » Wed May 18, 2016 2:02 pm
hello, you can ask us to configure it for you as far as you got any opc subscription at our site.
installation of the PRO version:
- installs from OPC Extensions tab where the very latest Ajax search version is always available per the very latest VM or Joomla releases
- both com_rupsearch and mod_virtuemart_ajax_search_pro needs to get installed
Configuration:
- there are 3 basic modes:
1. no ajax and no drop down -> this is ideal for large sites with tens of thousands of products, or other sites which lack the resources for mysql speed (cheaper hosting or similar)
2. ajax drop down
3. ajax into component area (needs to know an ID or class where to insert the products)
Styling:
- by default the component (ajax into component or no ajax mode) uses your Virtuemart category template. If k2 virtuemart templates are detected, they are used with higher priority. If own search template is found in
/templates/YOUR JOOMLA TEMPLATE/html/com_rupsearch/category/default.php
/templates/YOUR JOOMLA TEMPLATE/html/com_rupsearch/category/default_images.php
-- the above com_rupsearch is a modified copy of
/templates/YOUR JOOMLA TEMPLATE/html/com_virtuemart/category/default.php
(if not found the VM theme is used automatically)
or
/templates/YOUR JOOMLA TEMPLATE/html/com_rupsearch/default_dropdown.php
Search configuration:
- priorities and areas which can be searched are entered into config this way:
PRODUCT_SKU,PRODUCT_NAME,PRODUCT_NAME_WORDS,PRODUCT_NAME_MULTI_WORDS,PRODUCT_SKU_STARTS_WITH,PRODUCT_DESC,PRODUCT_S_DESC,PRODUCT_ATTRIBS,MF_NAME,CAT_NAME
explanaition:
1. first the SKU is being searched and if it matches the results, it will be shown as the very first
2. product name exact match is being done as second priority
3. product name multi word search (product: keyword1 middleword keyword2)
4. sku starts with - partial match for SKU
5. product_desc -> searches the product description -> for the largest performance you may want to disable this (i.e. not list it)
6. product_s_desc -> short description search (i.e. used for google robots and similar)
7. product_attribs -> searches the custom values of the products -> note that by default this field is not index in Virtuemart and can cause 1000x slow-down for the search results. It's only supported on VM3 and it's not recommended to use if you do not really need to search the custom values
8. mf_name -> searches the product's manufacturer's name
9. cat_name -> searches the product's assigned categories for the keyword
keyword modification:
- shorteing of the words:
- most of the EU languages use different suffixes for adjectives and thus you may want to enable the shortening. it's done automatically:
-- for short words, it cuts just the last character
-- for middle length words, it cuts last 2 characters
-- for very long words it cuts 3 characters
the seach for the modified keywords is done with OR operator and thus it won't influence the exact keyword searches.
What to search:
- child product handling (show only child products / show only parent products / show both)
Sorting:
- sorting on some mysql version breaks the priorities set up and slows down the search as the database on some versions needs to search the whole tables to get the results. The sorting is intended to sort only within the priorities set up:
Number of product's being searched:
- the query limits the results by the number of the proudcts configured at the backend. It terminates the query immidiately when the results are found. the goal is not to search whole tables, but rather to return the results both as fast as possible and as relevant as possible per the configuration
Future updates:
- since mysql 5.7 had optimized the internal query evaluator a way that the priorities cannot be configured the way we would like it to be shown, we will also add a support for multiple query support (i.e. now the search is done with a single query with union statement thus utilizing query cache if available) For the future we will also add an option to search step-by-step by multiple queries until the required number of products is returned by the priorities.
best regards, stan