concept synonyms in category elasticsearch

This is an excerpt from Manning's book Relevant Search: With applications for Solr and Elasticsearch.
Text with synonyms —Whether synonyms of query terms match the content.
Synonyms aren’t the only way that specificity is modeled in search. And when you know where to look, specificity modeling pops up throughout common patterns of search. The underlying theme isn’t synonyms, but the intentional asymmetry between query-time analysis and index-time analysis.
How can you achieve this? Well, we secretly presented an example of this in the previous section. Not only did we use synonyms to make sure that dress shoes was tokenized as a semantic unit (dress_shoe), but we also generated the extra shoe token so that dress shoes would still match a search for shoe. This analysis was asymmetric. During index analysis we produce both tokens. At query time only a single token, dress_shoe, is produced so that our search matches strictly dress shoes.