Find Nearest can locate points of interest that are points, lines, or polygons.
For example, point could be a bank ATM machine; a line could be a road segment, and a polygon could be a national park. The spatial database you match against can contain any of these types of geometries.
For the FindNearest stage, if you want to maximize the results, enter a large enough value for Maximum Distance. For example, to search the world, use a value equal to 26000 miles or 40000 km. For a Point-in-Polygon search, 0 is the appropriate maximum distance so that there is overlap between the point and polygon.