feat: add open search support

This commit is contained in:
Tim
2025-09-26 15:34:06 +08:00
parent 4fc7c861ee
commit 4821b77c17
16 changed files with 1008 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ import com.openisle.repository.PostRepository;
import com.openisle.repository.TagRepository;
import com.openisle.repository.UserRepository;
import java.util.List;
import java.util.Optional;
import org.junit.jupiter.api.Test;
import org.mockito.Mockito;
@@ -27,7 +28,8 @@ class SearchServiceTest {
postRepo,
commentRepo,
categoryRepo,
tagRepo
tagRepo,
Optional.empty()
);
Post post1 = new Post();