Support stemming / partial matches / unicode normalizing in issue search #1496

Closed
opened 2025-11-02 04:02:32 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @xak2000 on GitHub (Feb 2, 2018).

As mentioned early by @sha-red, the issue search should support:

  • Short n-grams to allow partial matches (an issue tracker won't work without partial matching).
    Not sure what is it.

  • Strong Unicode normalizing (because of diacritical letters).
    Allows to find fällen by typing fallen.

  • Multi-lingual stemming.
    Allows to find fallen by typing fall.

  • Also it should be possible to search by multiple words even when they are not near each other in the text (not sure how this ablility is called in terms of bleeve).

    For example, if some issue has some english comment text in the description, then it should be able to find this issue by typing some comment in the search box. For now such issue will not be found.

Originally created by @xak2000 on GitHub (Feb 2, 2018). As [mentioned early](https://github.com/go-gitea/gitea/pull/530#discussion_r102756415) by @sha-red, the issue search should support: - Short [n-grams](http://www.blevesearch.com/docs/Token-Filters/#n-gram:c38efc402d8771527a225c32b59be157) to allow partial matches (an issue tracker won't work without partial matching). _Not sure what is it._ - Strong [Unicode normalizing](http://www.blevesearch.com/docs/Token-Filters/#unicode-normalize:c38efc402d8771527a225c32b59be157) (because of diacritical letters). _Allows to find `fällen` by typing `fallen`._ - Multi-lingual [stemming](http://www.blevesearch.com/docs/Token-Filters/#stemmer:c38efc402d8771527a225c32b59be157). _Allows to find `fallen` by typing `fall`._ - Also it should be possible to search by multiple words even when they are not near each other in the text (not sure how this ablility is called in terms of [bleeve](http://www.blevesearch.com)). _For example, if some issue has `some english comment` text in the description, then it should be able to find this issue by typing `some comment` in the search box. For now such issue will not be found._
GiteaMirror added the issue/duplicate label 2025-11-02 04:02:32 -06:00
Author
Owner

@techknowlogick commented on GitHub (Apr 13, 2022):

closing as dupe of https://github.com/go-gitea/gitea/issues/2967

@techknowlogick commented on GitHub (Apr 13, 2022): closing as dupe of https://github.com/go-gitea/gitea/issues/2967
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1496