I have stemming enabled in my Solr instance, I had assumed that in order to perform an exact word search without disabling stemming, it would be as simple as putting the word into quotes. This however does not appear to be the case?
Is there a simple way to achieve this?
There is a simple way, if what you’re referring to is the “slop” (required similarity) as part of a fuzzy search (see the Lucene Query Syntax here).
For example, if I perform this search:
I see results that contain “determine”, “determining”, “determined”, etc.. If I then modify the query like so:
I only see results that contain the word “determine”. This is because I’m specifying a required similarity of 1, which means “exact match”. I can specify this value anywhere from 0 to 1.