title: In SOLR, how can I query to find an indexed keyword inside a user provided search query?
body: <p>I am running SOLR 3.6, and have documents that have tags indexed.  When a user enters a search phrase, I'd like to be able to find documents with tags contained inside that query.  </p>
  
  <p>E.g, a user searching for "Any document that has boats tagged" would match a document that had "boats" as a tag.</p>
  
  <p>I know you can do wildcard searching, but I need the wildcards applied to the solr field, not the search query.</p>
  
  <p>The MySQL equivalent to this would be:</p>
  
  <pre><code>SELECT * FROM `documents` WHERE "Any document that has boats tagged" LIKE 'CONCAT('%', `document`, '%');
  </code></pre>
  
  <p>So I need a SOLR factory that will allow this type of query:</p>
  
  <pre><code>*document*:"Any document that has boats tagged"
  </code></pre>