riak solr search 查询results与number不等

新手上路,请多包涵

riak solr查询时,返回的结果数据{ok, results,number_found}中results数和number_found并不相等,

    Test.get_results 1001,1002,1,60

返回实际数据只有10条,但是number_found=15

{:ok,
 [% pts_i: 63, to_id_i: 1002, unread_i: 0},
  % pts_i: 62, to_id_i: 1002, unread_i: 0},
  % pts_i: 61, to_id_i: 1002, unread_i: 0},
  % pts_i: 60, to_id_i: 1002, unread_i: 0},
  % pts_i: 59, to_id_i: 1002, unread_i: 0},
  % pts_i: 58, to_id_i: 1002, unread_i: 0},
  % pts_i: 57, to_id_i: 1002, unread_i: 0},
  % pts_i: 56, to_id_i: 1002, unread_i: 0},
  % pts_i: 55, to_id_i: 1002, unread_i: 0},
  % pts_i: 54, to_id_i: 1002, unread_i: 0}], 15}

这是riak的bug?

阅读 1.8k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
宣传栏