Added index support use for join layers of type line and polygon