Pagination 存储库中的Spring数据neo4j方法findAllByQuery无法传递分页参数
我试图使用SpringDataNeo4j存储库方法findAllByQuery实现全文查询,但我无法传递分页参数 从[doc]:Pagination 存储库中的Spring数据neo4j方法findAllByQuery无法传递分页参数,pagination,full-text-search,spring-data-neo4j,Pagination,Full Text Search,Spring Data Neo4j,我试图使用SpringDataNeo4j存储库方法findAllByQuery实现全文查询,但我无法传递分页参数 从[doc]: @NodeEntity 班主任{ @索引(indexName=“people search”,type=全文)字符串名称; } 笔译笔译笔译笔译笔译笔译笔译笔译= template.repositoryFor(Person.class); Person mark=graphrespository.findAllByQuery(“人员搜索”、“姓名”、“ma*”); 检
@NodeEntity
班主任{
@索引(indexName=“people search”,type=全文)字符串名称;
}
笔译笔译笔译笔译笔译笔译笔译笔译=
template.repositoryFor(Person.class);
Person mark=graphrespository.findAllByQuery(“人员搜索”、“姓名”、“ma*”);
检查下面的链接::这可能会有帮助。嗨@Purnendu,我检查了链接,但我没有看到他们在那里得到答案,你是说声明PagefindAllByQuery(字符串键、对象查询、可分页页面)代码>在我的存储库中?任何人都可以在这个问题上提供帮助吗?
@NodeEntity
class Person {
@Indexed(indexName = "people-search", type=FULLTEXT) String name;
}
GraphRepository<Person> graphRepository =
template.repositoryFor(Person.class);
Person mark = graphRepository.findAllByQuery("people-search", "name", "ma*");