2 chenlianyong1989 chenlianyong1989 于 2017.11.24 11:35 提问

solr @Facet limit 不管用

@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个回答

chenlianyong1989
chenlianyong1989   2017.11.24 11:48

图片说明

chenlianyong1989
chenlianyong1989   2017.11.24 11:49

@Facet 这个注解不起作用呢

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!