Skip to content

Conversation

@herbertnikolajewskidci
Copy link

@herbertnikolajewskidci herbertnikolajewskidci commented Dec 9, 2024

  • filterByPathName: false

    • This option allows restricting search context to the current URL if set to true.
  • subPath: -1

    • This option only works if filterByPathName is set to true. It allows further filtering of the search context. Example: Suppose this is our endpoint: "/help/page1/subpage1/topic". If I set subPath: 2, then the search context will be limited to everything that can be found under help/page1/*. Anything that's under /help/pageX or similar will be filtered out. subPath: 3 => then only help/page1/subpage1/* not help/page1/subpage2/*, etc. The default value is set to -1, which always allows searching the current page only as search context.

@herbertnikolajewskidci
Copy link
Author

@cmfcmf Is there any chance you could approve the pull request today?

@cmfcmf cmfcmf force-pushed the feat/search-context-filter branch from 27058df to 39cb862 Compare October 12, 2025 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant