List of usage examples for org.apache.lucene.queries.function ValueSource description
public abstract String description();
From source file:org.vootoo.search.CollectorFilterablePlugin.java
License:Apache License
public void verifyValueStr(String valueStr, ValueSource valueSource) throws SyntaxError { if (valueStr == null) { throw new SyntaxError("cf=" + getName() + " '" + valueSource.description() + "' value is null"); }//from w ww.java2 s . c o m valueStr = valueStr.trim(); if (valueStr.length() < 1) { throw new SyntaxError("cf=" + getName() + " '" + valueSource.description() + "' value is blank"); } }