protected String[] convert(Path<?> leftHandSide, Object rightHandSide) {
        String str = rightHandSide.toString();
        if (lowerCase) {
            str = str.toLowerCase();
        }
        if (splitTerms) {
            if (str.equals("")) {
                return new String[] {str};
            } else {
                return str.split("\\s+");
            }
        } else {
            return new String[] {str};
        }
    }
template method

@param leftHandSide left hand side
@param rightHandSide right hand side
@return results
querydsl-lucene3/src/main/java/com/querydsl/lucene3/LuceneSerializer.java