Actions with overlapping pathstomatch will crawl the same page multiple times.
However pathstomatch accepts negative pattern, so a broader one can exclude the scoped one.
We use this library under the hood if you want to try this approach on your site.
The free DocSearch plan, doesn't include technical web support from the Support team. For further assistance, you can post your question on the Algolia Community Forum or Discord. For front-end issues, you can raise the issue directly on GitHub. In addition, you can review our DocSearch Documentation and FAQ.