chenlianyong1989
cly雪狼
2017-11-24 03:35

solr @Facet limit 不管用

  • solr

@Query(value="-cash:?0 and status:1 and eventstatus:(3,4,6) and paytime:[* TO *] ",
fields={EventsUserModel.EVENT_URL1,EventsUserModel.EVENT_CASH,EventsUserModel.EVENT_ID,EventsUserModel.EVENT_POSITION},
timeAllowed=1000,filters={}, requestHandler = "select")
@Facet(limit = 5, prefix="?1")
public List findByPaytimeNot(String cash,Pageable page);

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

2条回答