I'm moving my project from SDN 3 to SDN 4 and from Neo4j 2.3 to 3.0.1
I have a following Spring Data Neo4j repository method:
@Query(value = "START d=node:node_auto_index({autoIndexQuery}) MATCH (d:Decision) RETURN d", countQuery = "START d=node:node_auto_index({autoIndexQuery}) MATCH (d:Decision) RETURN count(*)")
Page<Decision> searchDecisions(@Param("autoIndexQuery") String autoIndexQuery, Pageable page);
Right now in SDN 4 I can't find a way to provide this countQuery to Query annotation.
How it can be done in SDN 4 ?