Thread: maximum distance vs fixed distance for tsquery_phrase

maximum distance vs fixed distance for tsquery_phrase

From
Where is Where
Date:
Hello the tsquery_phrase is searching a fixed distance, is there way to search maximum distance so the search returns query1 followed by query2 up to a certain distance? eg  distance=100 return result from query1 <1> query2 ... query1 <100> query2 ?  Thanks!
tsquery_phrase(query1 tsquery, query2 tsquery, distance integer)