Product Search in Magento 2

Preview:

Citation preview

Seek and ye shall findProduct Search in Magento 2

Sonja Riesterer – @sonjarierr 14.03.2016

About Me

• Sonja Riesterer

• Marketing Manager

@sonjarierr

Benefit of Product Search

• Customers

Find matching products

• Store Owners

Anticipate customers‘ needs

Differences between Magento 1 and 2

Search Type

Magento 1.x

• MySQL Like

• MySQL Fulltext

• MySQL Combine

• Solr (EE)

Magento 2.0.2

• MySQL Fulltext

• Solr (EE)

“Seek and ye shall find,” they say,

but they don’t say what you’ll find.

── American McGee’s Alice

What will you find?

• Products

• Categories

• CMS pages

What will you find?

• Products

• Categories

• CMS pages

Criteria for a Good ProductSearch

• Results

• Speed

• Usability

Results

Simple Search Term

Compound Search Term

Amount

20

79

104

HOODIE HOODIE BLACK HOODIE BLACK ZIP

NUMBER OF SEARCH RESULTS

Typos

Speed

“It depends.”

── Everyone

Usability

Filters

Redirects

Synonyms

Suggested Terms

Recommendations

How To Improve It

How To Improve It

• Magento‘s default tools

• Extensions

• External search engines

Magento‘s default tools (1/3)

• Configuration

Activate suggestions& recommendations

Enterprise Edition only

Magento‘s default tools (2/3)

• Attributes

Use in search

Search weight

Use as filter

Magento‘s default tools (3/3)

• Search terms

Synonyms

Redirects

Suggestions

Extensions

• Autocomplete

• Layered navigation

• Import search terms

External Search Engines

• Celebros

• Sphinx

• Google Custom Search

• SLI Learning Search

Coming soon:

• Elasticsearch

• Solr

Elasticsearch

• Planned for Enterprise Edition

• Probably in 2.1 release

Solr

• Was planned for Enterprise Edition

• Solr configuration included in current EE

„The example Solr configuration isnot intended to be used in a production site.“

──Developer Documentation

IntegerNet_Solr

• M2 Solr extension for Magento

• Port of M1 extension

If interested, please contact me!

@sonjarierr sr@integer-net.com

Sources• Magento 2 Extensions on Magento Connect

https://www.magentocommerce.com/magento-connect/magento-2

• Autocomplete Extension for Magento 2https://www.salesids.com/en/magento-2-catalog-search-autocomplete.html

• Configure Solr and Magento - Developer Documentationhttp://devdocs.magento.com/guides/v2.0/config-guide/solr/solr-magento.html

• FIX Magento Search Please! #622 – Magento 2 GitHub Issuehttps://github.com/magento/magento2/issues/622

• integer_net Blog about the Choice Between Solr and Elasticsearchhttps://www.integer-net.com/solr-or-elasticsearch/

• Icons – Means of Communicationhttp://www.elegantthemes.com (Creative Commons BY 3.0)

Bonus Questions

• Why Elasticsearch instead of Solr?“(…) provides more functionality (…)”- Chuck Choukalos, Lead Product Manager, Magento

Recommended