- Features
- Features
- Searchable Fields
- Libraries
- Facet Features
- Types of Facets
- Configure Facets
- Field Mapping
- Field Properties
- Configure Site
- Profile
- Team Management
- Sites
- Global Coverage
- Disaster Recovery
- Features
- Template Selection
- Keyword Suggestions
- In-Field Suggestions
- Top Search Queries
- Popular Products
- Trending Queries
- Promoted/Blacklisted Suggestions
- Real-time Preview
- Instantaneous Publishing
- Ranking Insights
- Clickstream Data
- Boost/Bury
- Sort
- Slot
- Pin
- Filter
- Landing Pages
- Redirects
- Set Banners
- Ranking Insights
- Create a Site Rule
- Managing Field Rules
- Managing Query Rules
- Campaign
- A top-down approach
- Faster and simpler
- Relevant Metrics for better analysis
- Interactive and easy-to-view preview
- Feature-filled Listing Page
- Promotions
- Banners
- Facets
- Redirects
- Add New Promotions
- Boost/Bury
- Sort
- Slot
- Pin
- Filter
- Landing Pages
- All Queries
- Query-based Banner
- Field-based Banner
- Creating Field-based Facets
- Create a Site Rule
- Overall Performance
- Query Report
- Zero Result Queries
- Product Reports
- In-field Suggestions
- Keyword Suggestions
- Top Search Queries
- Popular Products
Intent Documentation
Named Entity Recognition (NER) models help in understanding the intent of the user by adding semantic knowledge with a query. NER models, also referred to as entity extraction models are machine learning models that tokenize each search query to map it to the desired attributes and return the most relevant products with the highest precision. It goes beyond simple text-pattern matching techniques.
NER identifies pre-defined attributes (called entity) from a search query to decode the shopper’s intent. For example for a search query “red polka dot dress for women”, the NER model will detect the following entities:
- COLOR : “red”
- PATTERN : “polka dot”
- (PRODUCT) TYPE : “dress”
- GENDER : “Women”
Strategies in NER
NER is calculated based on two strategies:
- Re-rank search results using detected entities
- Increase the product count in the search result
Let’s look at both strategies in detail.
Re-rank search results using detected entities
Once the NER model identifies the entities (as shown in the example of ‘red polka dress for women’), it uses the field mappings (done as part of the NER configuration) to identify the products whose attributes match with the detected search term against the entity. The products identified using the approach are promoted in the search ranking based on the weights assigned to the entity/attribute (done as part of the NER configuration).
NER based re-ranking helps in improving search relevance in following ways :
- It gives merchandisers the ability to promote the ranking of products based on their understanding of shoppers’ preference towards various entities/ product properties. For example, if a merchandiser has observed that the shoppers are more interested in TYPE, BRAND, COLOR, GENDER and are flexible with PATTERN, SLEEVETYPE then they can adjust the ranking weight-ages based on these properties.
- It understands the shoppers’ intent by understanding what they are looking for and promotes the products matching the shoppers’ specifications to the top. For example, if the search query is “red polka dot dress for women” then NER identifies that the shopper is looking for product TYPE: “dress” in COLOR: “red” with PATTERN: “polka dot” for GENDER: “Women”. Hence, the model will promote the products matching these specifications. In the process, the NER based re-ranking reduces the impact of including unstructured fields (such as product description or marketing description) in the searchable fields list.
Increase the product count in search result
On occasions where the number of products matching the shopper’s search specifications is extremely low (including scenarios with zero results), NER strategies are needed. This is common for long-tail searches where the query length is higher. Our NER model offers a strategy to diversify the product selections in such cases by reformulating the search query.
How does NER help in increasing product count?
NER allows the search engine to relax the constraints of a search query in order to increase the search results for a search query. Selectively increasing the search results allows your search engine to showcase related products and increases the chances of conversions. For eg: In query like “blue check casual shirt for men”
- Let’s say without NER query reformulation, the number of products in search result = 2 (Only 2 products match in the catalog)
- With NER query reformulation the new query becomes: “Blue casual shirt for men” AND Boost (checks)”.
- The PATTERN (i.e. “checks”) is made an option term resulting in an increase in the results from 2 products to 50 products.
- A boost is applied on the products where PATTERN is “checks” in order to ensure that the 2 products matching exact shopper specifications appear at the top.
How to configure NER?
The NER model can be applied to your website in three simple steps :
- Enable the toggle switch against “Apply NER model to your site”
- Go to “Manage Map & Weightage” and perform the following actions:
- “Map Entities identified by the model to the fields in your catalog” : The entities identified by our model are listed in the table. Map the fields in your product catalog which contain the information related to these entities. Our model requires these catalog mapping in order to influence the search results.
- “Assign weightage” : Once an attribute is mapped against an entity, it would be available for assigning weights.
- Click on “Save” to close the pop-up and save the settings.
Note: At-least one entity must be mapped to a catalog field and assigned a weightage to enable NER.
- Configure strategies
Map catalog fields to an entity
During mapping a catalog field to an entity, it is recommended that you map the fields from the catalog that contains the information related to the entity. Let’s say a retailer has a title, description, and brand attribute in their catalog. The title and description attribute may contain the brand names of the product for most of the products in the catalog. However, they also contain other details about the products such as size, color, etc. Hence, in order to get the best results for NER, it is recommended to map only the brand attribute to the entity called BRAND because it would only contain the information about product brands and it won’t have details about other product properties.
In case your catalog does not have an independent attribute for an entity, you can leave the field mapping against the entity as blank. In such cases, even if the NER model is able to identify the entity it won’t influence the search results based on the detection. However, if there is an entity that is extremely important and used frequently by your shopper during searches you can go ahead and map the attribute which is closest to the entity.
Assign Weights
The weight-ages assigned to entity/fields mapped against an entity allows us to understand how important these entities/fields are for your shoppers. These weight-ages are used while re-ranking the search results and increasing the product count in search results. TYPE (i.e. product type) , BRAND, COLOR are some of the entities which are found to be important for a shopper Fashion domain.
NOTE: Entities without field mapping and weightage won’t be available for re-ranking results and increasing result count.
As quoted above, imagine people searching for ‘blue sofa’, get ‘blue shirt’ in their results? A terrible experience for shoppers indeed. This might happen when you rank the attributes wrong or do not rank them at all. In such a case, the search engine randomly selects products for display. So what to do?
Assign proper weights to the mapped fields:
Weights |
Description |
High |
The first priority of attribute while searching for results |
Medium |
Good to have |
Low |
Not particularly needed |
So, if we assign HIGH weightage to ‘product_type’ while searching for ‘blue sofa’, we would get results for ‘blue sofa’ and not ‘blue shirt’. With relevant mapping and assigning weights, you provide:
- Re-ranking of products: We are indirectly boosting products that you would want your customers to see above others. For ex. Encouraging your brand name. If Amazon wants to promote solimo (its sister brand), whenever a shopper searches for roasted brown almonds, solimo almonds would show the top results.
- Improved recall: With NER you get the option to abstain your site from providing zero results. So, whenever a shopper types a long tail search query that has no exact match, sites return zero results or 1-2 results. Instead, with NER, you could provide more products in the result set by providing a number here:
This means if the result set contains less than x number of products then let NER increase the number of results. For ex. If a shopper searches for Bain brown boots. The result set contains 3 products. So, NER matches the query with the HIGH weightage attribute which in this case was color and product type and provides more results on the same. More brown shoes or boots.
Configure strategy for increased result count
Two steps are needed in order to configure the strategy for increasing the result count.
- Enable the strategy by clicking on the checkbox against “Increase the product count in search result”
- Select the threshold above which the NER based query reformulation must be disabled. By default, the threshold is set as 10 which means if a query returns more than 10 products in the search result (with high precision) then the query reformulation will not be applied. Only if the number of products in the search result is less than the selected threshold, the NER based query reformulation will take place. In order to decide the threshold, you need to consider the following factors :
- The number of products displayed on the search results page. If the search results page displays 50 product on a single page then you may choose to increase the limit to 20 or 25
- The number of queries that would be impacted by NER. A lower threshold would mean that query reformulation would happen for lesser number of queries. In order to decide the threshold, you can look create a table that contains the number of queries and their conversion rates across different ranges.
#Products in Search result |
#Search Hits |
Conversion rate |
0-5 |
10,000 |
1.5% |
0-10 |
25,000 |
2% |
0-20 |
100,000 |
2.1% |
0-25 |
125,000 |
2.5% |
0-50 |
500,000 |
5% |
- Did this answer your question?
On this page
- Common Applications
- How to implement
- Example
- How to apply boost