title: search for substring in lucene
body: <p>i have so many fields to get data from lucene.
  one of that field is:
  <strong>NTF_com.cisco.vportal.1.TranscodingStatus</strong>
  and its value is:
  <strong>FAILED:DEPLOY_FALSE:bdecc8c3-0389-47b7-bbe5-04a2611e4be9:dms.job.transform.input.format.unsupported.error:dms.job.transform.error.type.permanent</strong></p>
  
  <p>now i want to check to search as weather this value contain FAILED or not.</p>
  
  <p>i tried with the WildcardQuery but its not working for me i put it as</p>
  
  <pre><code>org.apache.lucene.index.Term term=neworg.apache.lucene.index.Term("NTF_com.cisco.vportal.1.TranscodingStatus", "FAILED*");
  Query wquery=new WildcardQuery(term);
  </code></pre>
  
  <p>but not getting proper result.</p>
  
  <p>i just want to check that weather this field contain substring which i passed on it.</p>