@Override
        public boolean visit(Item item) {
            if (item instanceof FuzzyItem) {
                String error = validate((FuzzyItem)item);
                if (error != null)
                    errorMessage = Optional.of(ErrorMessage.createIllegalQuery(error));
            }
            return true;
        }
Validates any FuzzyItem query items.

@author alexeyche
container-search/src/main/java/com/yahoo/search/searchers/ValidateFuzzySearcher.java