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-lucene5/src/main/java/com/querydsl/lucene5/LuceneSerializer.java