use of org.apache.jackrabbit.spi.commons.conversion.MalformedPathException in project jackrabbit by apache.
the class TextsearchQueryNode method setPropertyName.
/**
* Sets a new name as the search scope for this fulltext query.
*
* @param property the name of the property.
* @deprecated Use {@link #setRelativePath(Path)} instead.
*/
public void setPropertyName(Name property) {
PathBuilder builder = new PathBuilder();
builder.addLast(property);
try {
this.relPath = builder.getPath();
this.propertyRef = true;
} catch (MalformedPathException e) {
// path is always valid
}
}
Aggregations