/** * Define a constraint clause that the node within the named table have at * least one property that satisfies the full-text search expression. * * @param table * the name of the table; may not be null and must refer to a * valid name or alias of a table appearing in the FROM clause * @param searchExpression * the full-text search expression * @return the constraint builder that was used to create this clause; * never null */ public ConstraintBuilder search(String table, String searchExpression) { return setConstraint(new FullTextSearch(selector(table), null, searchExpression)); }
/** * Define a constraint clause that the node within the named table have a * value for the named property that satisfies the full-text search * expression. * * @param table * the name of the table; may not be null and must refer to a * valid name or alias of a table appearing in the FROM clause * @param propertyName * the name of the property to be searched * @param searchExpression * the full-text search expression * @return the constraint builder that was used to create this clause; * never null */ public ConstraintBuilder search(String table, String propertyName, String searchExpression) { return setConstraint(new FullTextSearch(selector(table), propertyName, searchExpression)); }
res = new FullTextSearch(selName, null , expr);