Examples: Search term association expansion
The following examples illustrate combining minimum match with search term associations, in all cases the minimum match value is 2:
Example: Using synonyms
Product data | Shopper's query | MinMatchOption | Search result | Explanation |
---|---|---|---|---|
|
men navy blue shirt | 1 |
|
Minimum match is applied to the expanded query. For reference, the following code snippet
shows the expanded Solr query: |
2 |
|
Products that meet the minimum match criteria (on shopper's search terms, and all search term
associations that apply to single search terms in the query) display first. Then, products that
contain any of the terms that are mentioned in the second subquery display next. For reference,
the following code snippet shows the expanded Solr query: |
||
3 |
|
Products that meet the minimum match criteria (on shopper's search terms, and all search term
associations that apply to single search terms in the query) display first. Then, products that
contain any of the terms that are mentioned in the second subquery are displayed. For reference,
the following code snippet shows the expanded Solr query: |
||
4 |
|
Products that meet the minimum match criteria on the shopper's search terms are returned
first, followed by products that satisfy the minimum match condition on the shopper's search terms
and corresponding search term associations. For reference, the following code snippet shows the
expanded Solr query: |
Example: Using synonyms and replacement terms (instead-search-for)
Product data | Shopper's query | MinMatchOption | Search result | Explanation |
---|---|---|---|---|
|
young men navy blue shirt | 1 |
|
Minimum match is applied to the query. For reference, the following code snippet shows the
expanded Solr query: |
2 |
|
Minimum match is ignored. For reference, the following code snippet shows the
expanded Solr query: |
||
3 |
|
Products that match the transformed query are boosted. For reference, the
following code snippet shows the expanded Solr query: |
||
4 |
|
Minimum match is applied to the query. For reference, the following code snippet shows the
expanded Solr query: |