Skip to content

Conversation

@andrablaj
Copy link
Member

@andrablaj andrablaj commented Oct 2, 2025

Description

Change flexsearch tokenize parameter to full to increase the number of results returned by the search.

Per documentation + additional documentation:

  • strict - Only exact matches for the search term will be shown in the results.
  • forward (default) - Words are searched for starting from the first letter in a forward order, allowing partial matches to be displayed; unfinished words or words with mispellings at the end will still display results e.g. if searching for ‘Testing’, entering only ‘Tes’ will provide some results.
  • reverse - A result will be shown when the letters of the search term occur in both forward or reverse order, provide even more support for mispellings or incomplete searches e.g. if searching for ‘Testing’, entering either ‘Tes’ or ‘ing’ will provide some results.
  • full - Combines all of the above, plus partial matches for the middle section of the search term e.g. if searching for ‘Testing’, entering either ‘Tes’, ‘ing’ or ‘sti’, or other combinations thereof will provide some results.

#2006

License

The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.

@andrablaj andrablaj self-assigned this Oct 2, 2025
@andrablaj andrablaj requested a review from jkuester October 2, 2025 10:35
Copy link
Contributor

@jkuester jkuester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍇

@andrablaj andrablaj merged commit dd3744a into main Oct 3, 2025
2 checks passed
@andrablaj andrablaj deleted the change-search-tokenize branch October 3, 2025 06:30
@mrjones-plip mrjones-plip linked an issue Dec 3, 2025 that may be closed by this pull request
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.

Search functionality has changed after upgrading Hextra

3 participants