문제

how to get only the top 100 matching results in neo4j FT index queries. I am sure for common searches the index will match thousands of nodes but i would need only say the top 100 highest scored matches. What configuration settings or query context should i set to achieve this. How is this possible in REST API without cypher. Is cypher a must to get these 100 top scored full text matches. Thanks for any help!

도움이 되었습니까?

해결책

The simplest way would probably be using Cypher's LIMIT clause. Since you explicitly asked for non cypher solutions, the only option is to write a unmanaged extension that runs the index query and does not fully consume the iterator.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top