rem: queryField.value = query.toLowerCase(); 
add: query.value = query.toLowerCase(); 
context: function doCheckLuceneQueryValue(query){  if(query != null && query.length > 0)  {    query = removeEscapes(query);        // check for allowed characters    if(!checkAllowedCharacters(query)) return false;        // check * is used properly    if(!checkAsterisk(query)) return false;        // check for && usage    if(!checkAmpersands(query)) return false;        // check ^ is used properly     if(!checkCaret(query)) return false;        // check ~ is used properly    if(!checkSquiggle(query)) return false;        // check ! is used properly     if(!checkExclamationMark(query)) return false;        // check question marks are used properly    if(!checkQuestionMark(query)) return false;        // check parentheses are used properly    if(!checkParentheses(query)) return false;        // check '+' and '-' are used properly          if(!checkPlusMinus(query)) return false;        // check AND, OR and NOT are used properly    if(!checkANDORNOT(query)) return false;            // check that quote marks are closed    if(!checkQuotes(query)) return false;        // check ':' is used properly    if(!checkColon(query)) return false;        if(wildcardCaseInsensitive)    {      if(query.indexOf("*") != -1)      {        var i = query.indexOf(':');        if(i == -1)        {          queryField.value = query.toLowerCase();        }        else // found a wildcard field search        {          queryField.value = query.substring(0, i) + query.substring(i).toLowerCase();        }      }    }    return true;  }}
meta: 841	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/841/b89cb9ac380474458a957d953955ca98c8da444a/luceneQueryValidator.js/clean/sandbox/contributions/javascript/queryValidator/luceneQueryValidator.js