A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
update
hgaol16cafbaf95bb
diff --git a/internal/schema/search_schema_test.go b/internal/schema/search_schema_test.goindex 1549f0e1..50ffdf14 100644--- a/internal/schema/search_schema_test.go+++ b/internal/schema/search_schema_test.go@@ -12,7 +12,7 @@ func TestReplaceSearchContent(t *testing.T) {replacedContent, patterns := ReplaceSearchContent(content)ret := strings.Join(append(patterns, replacedContent), " ")- assert.Equal(t, "user:aaa [tag]ssssfdfdf as fsadf", ret)+ assert.Equal(t, "user:aaa [tag] ssssfdfdf as fsadf", ret)content = "user:aaa-sss [tag1] ssssfdfdf-as#fsadf [tag2] score:3"replacedContent, patterns = ReplaceSearchContent(content)