Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extending search.separator seems not to work #3410

Open
Kevin-De-Koninck opened this issue Oct 3, 2023 · 0 comments
Open

Extending search.separator seems not to work #3410

Kevin-De-Koninck opened this issue Oct 3, 2023 · 0 comments
Labels

Comments

@Kevin-De-Koninck
Copy link

Description

plugins[].search.separator seems not to work in version 1.5 (tested with 1.5.2 and 1.5.3). I extended it with ''[\s-.]+'' in order to allow searching for dots. But this change is not reflected in the search results. as soon as I add a dot in the search box, no results appear.

The relevant config snippet:

plugins:
  - search:
      separator: '[\s\-\.]+'  # Add dot as a word separator

The previous version that I used was 1.2.3. In that version, extending the search separator worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants