reverse like implementation

Constraint implementation when like pattern stored in document property:

SELECT * 
FROM [service:Locator] AS locator 
WHERE relike($phone, locator.[service:phonePattern])