From 6afdad578701d38dd45d7d1c8ef446269f3a1275 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 16 Jul 2018 15:53:38 +0300 Subject: sphinx search: page by offset --- juick-common/src/main/java/com/juick/service/MessagesService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'juick-common/src/main/java/com/juick') diff --git a/juick-common/src/main/java/com/juick/service/MessagesService.java b/juick-common/src/main/java/com/juick/service/MessagesService.java index 9af000f8..30719cc6 100644 --- a/juick-common/src/main/java/com/juick/service/MessagesService.java +++ b/juick-common/src/main/java/com/juick/service/MessagesService.java @@ -85,7 +85,7 @@ public interface MessagesService { List getPhotos(int visitorUid, int before); - List getSearch(String search, int before); + List getSearch(String search, int page); List getUserBlog(int uid, int privacy, int before); @@ -99,7 +99,7 @@ public interface MessagesService { List getUserPhotos(int uid, int privacy, int before); - List getUserSearch(int UID, String search, int privacy, int before); + List getUserSearch(int UID, String search, int privacy, int page); List getMessages(List mids); -- cgit v1.2.3