title: Lucene phase query case insensitive
body: <p>I am writing a query to do an exact match on a 'city' field.  The field/property is defined as:</p>
  
  <pre><code>@org.hibernate.search.annotations.Field(index = Index.YES, analyze = Analyze.NO, store = Store.NO)
  private String city;
  </code></pre>
  
  <p>If I have the value of "New York", I want to find a match if user enters "new york", or some variation of case.   I am using the StandardAnalyzer for the entity, so I know that will lowercase all the tokens.  I don't tokenize since I want to match the phrase (Analyze.NO).</p>
  
  <p>I tried to lowercase my search value, but no luck.</p>
  
  <pre><code>Query query = qb.phrase().onField(.....).sentence(location.toLowerCase()).createQuery();
  </code></pre>
  
  <p>If I don't lowercase the search term and the value is 'New York', results are returned. Searching for 'new york' does not return any result.</p>
  
  <p>If I tokenize (Analyze.YES), then other cities like 'New Jersey' are returned.  I know I can use a wildcard query (searchTerm*), but I was hoping to be able to do a case insensitive search on a phrase.   Just not sure if that's possible unless you use the wildcard.</p>
  
  <p>thanks </p>