title: Solr query starts with
body: <p>How I write a query in Solr that performs "start with" function? For example, if I have 3 documents with the following title fields:</p>
  
  <ol>
  <li>"Star Wars Episode I" </li>
  <li>"Star Wars Episode II" </li>
  <li>"Star Trek" </li>
  <li>"My Star Wars movie"</li>
  </ol>
  
  <p>I want the query to return first 2 documents, whose title starts with "Star Wars"</p>
  
  <p><strong>Edit</strong>: For the record, this is what I end up using:</p>
  
  <pre><code>fq=(name:"/Apple Ipad.*/")&amp;wt=xml
  </code></pre>