Configure Global Search Settings
This section describes, how you can customize and greatly improve the relevance of your search results by configuring Search Settings.
The most important part is Global Search Configuration. It is located at System -> Search Management -> Settings -> Mirasvit Extensions -> Search, and divided into the following sections:
Search Engine Configuration
Our extension allows you to power up search either with default Magento search engine, or with external engine. Option Search Engine selects, which engine should be in charge, and has three possible values:
- MySQL - native Magento engine, used for Magento default search functionality.
- Built-in search engine - will use an internal search algorithm of our extension.
Note
Built-in search engine mode does not require installation of Sphinx Engine on your server, but you will still receive the same features as with the Sphinx Engine. However, you can experience a slower search speed than with the Sphinx Engine (only for more then 20K products).
Third possible value depends from precise extension, that you're using. Mirasvit provides two search applications, that share this option, but support different search engines.
-
Sphinx Search Ultimate
-
Elastic Search Ultimate
Search Settings
- Wildcard search - allows customer to search the product by part of the word, marking unknown part with asterisk (*). There's four different wildcard modes available:
- Enabled (*word*) - fully enables wildcards.
- Enabled at end (word*) - partially enables wildcards, allowing to search by first part of keyword.
- Enabled at start (*word) - partially enables wildcards, allowing to search by last part of keyword.
- Disabled - totally disables wildcards.
Note
Wildcards enabling slightly reduces the relevance of search and increases the number of search results.
- Enable redirecting from 404 to search results - if option is enabled, customer will be redirected to the store search results of the broken URL text instead of the "404 Not Found" page.
- Redirect if there is a Single Result - if the search query results only have one match, the customer will be immediately taken to to corrresponding product page.
- Enable Google Sitelinks Search - if option is enabled, the extension shows the Sitelink Search Box on the Google search results page. After enabling the option, the search box will be shown only after Google reindexing.
- Enable search terms highlighting - if option is enabled, search query word(s) will be highlighted in the search results.
- Display Related Search Terms - if option is enabled, related search terms will be displayed on the search result page.
- Max number of items in the result - sets the maximum number of items in the search result. Set 0 to disable limitation.
- Wildcard Exceptions - the list of keywords (characters) for which wildcard search can not apply.
- Replace words in search query - two-column list of auto-replace. When evaluating search extension will seek keywords from Find word columns, and automatically replace with the one from Replace With column. Column Find word can contain more than one keyword, separated by comma.
- Not' words - words from this list invert search. E. q. appearance of these words in search automatically treated as "exclude results with this word".
- Long Tail Expressions - allows you to receive the correct search results for words that contain dashes or any other non-alphabetic symbols. Read more in Long Tail Configuration section. Or read our article in Mirasvit Blog about the feature
- Minimum number of characters - to search-specifies the minimum amount of characters, which triggers autocomplete drop-down list. It works only when
mirasvit/module-search-autocomplete
is installed and enabled. - Match mode - overrides default Magento mode of search with one of the following options:
- AND - this mode is default. Elements (e. q. products, pages) matched only when all requested keywords are found in respective attributes.
- OR - defines, that elements matched only when at least one of requested keywords is found.
Multi-store Search Result
This option is useful when you have store-dependant elements in your store. For example, you have products which are visible only in specific storeviews and you wish to allow customers to search simultaneously in all your stores.
-
Enable Multi-Store Search Results - if you enable this option, search results will be displayed in tabs. Each tab has a number of results for a storeview and corresponds to one of your storeviews. This option triggers an additional sub-option:
-
Stores - allows you to select, which storeviews should be included in a multi-store search.
Note
Multi-store search results work only on the search results page (when visitors click on the tab it redirects them to the selected storeview.).Autocomplete always returns results from the current store only. It can not display search results from another storeviews.
-