search/engine/api/src/main/java/net/sf/mmm/search/view/base/AbstractSearchServlet.java
/**
   * This method extends the given <code>complexQuery</code> with a query for the given <code>property</code>.
   * 
   * @param complexQuery is the existing query to extend.
   * @param field is the name of the field to add to the query.
   * @param value is the value to search in the given <code>property</code>.
   */
This method extends the given complexQuery with a query for the given property.

@param complexQuery is the existing query to extend.
@param field is the name of the field to add to the query.
@param value is the value to search in the given property.
This method extends the given complexQuery with a query for the given property . @param complexQuery is the existing query to extend . @param field is the name of the field to add to the query . @param value is the value to search in the given property .
private void appendFieldQuery(ComplexSearchQuery complexQuery, String field, String value) {
    if (value.length() > 0) {
      SearchQuery query = getSearchEngine().getQueryBuilder().createPhraseQuery(field, value);
      complexQuery.addRequiredQuery(query);
    }
  }
private void appendFieldQuery ( ComplexSearchQuery complexQuery , String field , String value ) { if ( value . length ( ) > 0 ) { SearchQuery query = getSearchEngine ( ) . getQueryBuilder ( ) . createPhraseQuery ( field , value ) ; complexQuery . addRequiredQuery ( query ) ; } }
This method extends the given <code>complexQuery</code> with a query for the given <code>property</code>.
This method extends the given <code > complexQuery< / code > with a query for the given <code > property< / code > .