title: Solr search by sentence similarity
body: <p>I have a text document indexed in Solr.  I want Solr search to first show the text files that have a similar sentence, and then to show files that have similar words.</p>
  
  <p>So far, I have used this query:</p>
  
  <pre><code>"This is a sample text" OR This is a sample text
  </code></pre>
  
  <p>But then, when searching "This a sample text", for example, it will search for any document that contains ("this", "a", "sample" and "text"). Is there any method in Solr for the search to first provide results with similar sentences and then words.</p>