Search code examples
solrsolrnet

SOLR to ignore some terms of a phrase


Is there a way to tell SOLR to search for (for example) 80% of the phrase "term1 term2 term3 term4"

will yeild documents with at least 3 terms.

Extra question - if such logic exists - will it work with proximity : "term1 term2 term3 term4"~15

specifically, tried to do that with SOLR.NET

var queries = new List<ISolrQuery>();
//filling the list...

    new SolrMultipleCriteriaQuery(queries, SolrMultipleCriteriaQuery.Operator.OR);

when I ran that got SolrNet.Exceptions.InvalidFieldException


Solution

  • When working with Solr directly, this is supported. I am not familiar with Solr.NET though, can anyone comment on whether this feature is supported by that client?