diff options
author | Vitaly Takmazov | 2018-07-16 15:53:38 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-07-16 15:53:38 +0300 |
commit | 6afdad578701d38dd45d7d1c8ef446269f3a1275 (patch) | |
tree | c8259c0b047523b0b6035a8a1a2daa3a9016bb46 /juick-common/src | |
parent | a8a32a0957ea014b1204b037164cb7d53cccd0c7 (diff) |
sphinx search: page by offset
Diffstat (limited to 'juick-common/src')
-rw-r--r-- | juick-common/src/main/java/com/juick/service/MessagesService.java | 4 |
1 files changed, 2 insertions, 2 deletions
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<Integer> getPhotos(int visitorUid, int before); - List<Integer> getSearch(String search, int before); + List<Integer> getSearch(String search, int page); List<Integer> getUserBlog(int uid, int privacy, int before); @@ -99,7 +99,7 @@ public interface MessagesService { List<Integer> getUserPhotos(int uid, int privacy, int before); - List<Integer> getUserSearch(int UID, String search, int privacy, int before); + List<Integer> getUserSearch(int UID, String search, int privacy, int page); List<com.juick.Message> getMessages(List<Integer> mids); |