声明此方法时:
@Query(value = "*:*")
@Facet(pivotFields = {"type","status"}, limit = 10000)
FacetPage<SolrCrimeServer> findAllAndFacetOnTypeAndStatus(Pageable page);
我明白了
java.lang.IllegalStateException:在 org.springframework.data.solr.core.query.FacetOptions.addFacetOnPivot(FacetOptions. java:150) at org.springframework.data.solr.repository.query.AbstractSolrQuery.extractFacetOptions(AbstractSolrQuery.java:246) at org.springframework.data.solr.repository.query.AbstractSolrQuery.execute(AbstractSolrQuery.java:120)
有版本
1.1.1.发布
谢谢。