With a big catalog of 224+ extensions for your online store
How to Configure Search Catalog search in Magento 2
In this post, we will introduce how to configure Search or Catalog search in Magento 2. Setting the minimum and maximum number of characters that can be submitted in a query is an important part when you adjust the Catalog Search configuration. For example: you can choose the minimum number 1 and the maximum number 148.
This configuration provides your customers with a useful tool to find the product they want just by typing a few words or phrases. Once their shopping experience is improved, they are more likely to finalize the purchase. You can set this up in the default Magento 2, or use Mageplaza AJAX Search extension with more amazing features.
5 Steps to Configure Catalog Search in Magento 2
To configure catalog search in Magento 2, please follow steps below:*
- On the Admin panel, click
Stores
. In theSettings
section, selectConfiguration
. - Select
Catalog
underCatalog
in the panel on the left - Open the
Catalog Search
section, and continue with following:- In the
Minimal Query Length
field, enter the number to set minimum characters that can be submitted in a query - In the
Maximum Query Length
field, enter the number to set maximum characters that can be submitted in a query
- In the
- To limit the length and word count of search query text, do the following:
- Set Minimal Query Length to the minimum number of characters that can be submitted in a query.
- Set Maximum Query Length to the maximum number of characters that can be submitted in a query.
- When complete, click
Save Config
NOTE
- Ensure the search engine server is active. If it’s on a different host from Commerce, log in to the Commerce server, ping the search engine host, and resolve any network issues.
- Check the command window where Elasticsearch or OpenSearch is initiated for stack traces and exceptions. Resolve these issues, ensuring the search engine is started with root privileges.
- Ensure that the UNIX firewall and SELinux are disabled or configured with rules allowing communication between the search engine and Commerce.
- Verify the Server Hostname field value; try using the server’s IP address instead.
- Run the netstat -an | grep
command to check if the port specified in the Server Port field is free. For instance, to see if the search engine runs on its default port, use: netstat -an | grep 9200
- If it’s running on port 9200, you’ll see output similar to:
`tcp 0 0 :::9200 :::- LISTEN`
Now, are you ready to make changes to your catalog search? Share it with your friends or business partners if you think it is useful! If you need another tool to enable better navigation, check out Search Extension and Layered Navigation by Mageplaza. I think you’ll love them!
Explore Search Settings in Magento 2
Related Post
Looking for
Customization & Development Services?
8+ years of experiences in e-commerce & Magento has prepared us for any challenges, so that we can lead you to your success.
Get free consultantRecent Tutorials
Change Store Email Addresses
Fix Magento 2 'Invalid Form Key. Please refresh the page'
Magento 2 Search Settings: Default Magento vs Mageplaza AJAX Search
Explore Our Products:
People also searched for
- magento 2 search settings
- magento 2 search configuration
- magento 2 change search query
- magento 2 catalog search
- catalog search magento 2
- magento 2 catalog search full text
- magento search settings
- magento 2 search and instead of or
- magento 2 site search
- magento product search
- magento search configuration
- enable magento search box
- magento search options
- enable magento search bar
- install magento search box
- magento catalog search
- install magento search bar
- magento custom search query
- magento 2 disable search
- configure search catalog search magento 2
- magento 1 search settings
- magento product search not working
- magento 2 search tools
- magento 2 fulltext search
- magento 2 search criteria builder
- magento 2 change search engine
- magento 2 catalog search not working
- magento catalogsearch
- 2.3.x, 2.4.x
Stay in the know
Get special offers on the latest news from Mageplaza.
Earn $10 in reward now!