fix(indexer): correct bleve indexer token filters (#38853) (#38951)

Backport #38853 by @gomitrah

* fix #36228
* fix #37221

Co-authored-by: Mitrahsoft <bala.c@mitrahsoft.in>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Giteabot
2026-08-17 19:51:24 +02:00
committed by GitHub
co-authored by Mitrahsoft wxiaoguang
parent cbcf36cded
commit 1c3ae57f35
9 changed files with 246 additions and 17 deletions
+2 -2
View File
@@ -53,9 +53,9 @@ func TestSearchRepo(t *testing.T) {
}
func testSearch(t *testing.T, url string, expected []string) {
t.Helper()
req := NewRequest(t, "GET", url)
resp := MakeRequest(t, req, http.StatusOK)
filenames := resultFilenames(NewHTMLParser(t, resp.Body))
assert.Equal(t, expected, filenames)
assert.Equal(t, expected, filenames, "url=%s", url)
}