public void addCategoryLimitations(boolean include,String... categoryVelocityVarNames){
  query.append(" " + (include ? "+" : "-") + "(");
  for (  String categoryVelocityVarName : categoryVelocityVarNames) {
    query.append("categories:" + escapeValue(categoryVelocityVarName) + " ");
  }
  query.append(")");
}

public void addCategoryLimitations ( boolean include , String ... categoryVelocityVarNames ) { query . append ( " " + ( include ? "+" : "-" ) + "(" ) ; for ( String categoryVelocityVarName : categoryVelocityVarNames ) { query . append ( "categories:" + escapeValue ( categoryVelocityVarName ) + " " ) ; } query . append ( ")" ) ; }
limit the results of the query to certain categories
