1 package com.netease.nimlib.sdk.lucene;
32 public List<MsgIndexRecord> searchAllSessionBlock(String query,
int limit);
52 public List<MsgIndexRecord> searchSessionBlock(String query,
SessionTypeEnum sessionType, String sessionId);
65 int pageIndex,
int pageSize);
77 public List<MsgIndexRecord> searchSessionPageBlock(String query,
SessionTypeEnum sessionType, String sessionId,
78 int pageIndex,
int pageSize);
103 public List<MsgIndexRecord> searchSessionNextPageBlock(String query,
SessionTypeEnum sessionType, String sessionId,
114 public int searchSessionMatchCount(String query,
SessionTypeEnum sessionType, String sessionId);
125 public int searchSessionPageCount(String query,
SessionTypeEnum sessionType, String sessionId,
int pageSize);
132 public long getCacheSize();
137 public void clearCache();