Implementing semantic search
Semantic search is when the search engine understands what the customer is searching for and provides results that are based on this understanding. Therefore, a search for the term shoes
should display only items that are of type shoes instead of items with a description goes well with black shoes. We could argue that since we are boosting on the fields category
, type
, brand
, color
, and size
, our results should match with what the customer is looking or searching for. However, this might not be the case. Let us take a more appropriate example to understand this situation.
Suppose a customer is searching for blue jeans
where blue
is intended to be the color
and jeans
is the type
of apparel. What if there is a brand
Get Apache Solr Search Patterns now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.