@Override
   protected Query getFieldQuery(String field, String queryText, boolean quoted) throws ParseException
   {
      if (queryText.startsWith("~"))
      {
         // synonym query
         return getSynonymQuery(field, queryText.substring(1), quoted);
      }
      else
      {
         return super.getFieldQuery(field, queryText, quoted);
      }
   }
@ Override protected Query getFieldQuery ( String field , String queryText , boolean quoted ) throws ParseException { if ( queryText . startsWith ( "~" ) ) { return getSynonymQuery ( field , queryText . substring ( 1 ) , quoted ) ; } else { return super . getFieldQuery ( field , queryText , quoted ) ; } }
{@inheritDoc}