On 9/21/2012 11:22 AM, cleonard wrote:
Now a mistyped term is no problem. I still get results. The issue now is that I get too many results back. What I want is something that effectively does an AND if a term is matched, but does an OR when a term is not found. To say it a differnt way -- If a term is found I only want results that contain that term.
It won't be precisely what you describe, but you may want to switch to edismax and employ the mm parameter.
http://wiki.apache.org/solr/ExtendedDisMax http://wiki.apache.org/solr/ExtendedDisMax#mm_.28Minimum_.27Should.27_Match.29 Thanks, Shawn