Search queries in neo4j: how to sort results in neo4j in START query with internal TFIDF / levenshtein or other algorithms?

前端 未结 2 837
萌比男神i
萌比男神i 2021-01-03 14:16

I am working on a model using wikipedia topics\' names for my experiments in full-text index.

I set up and index on \'topic\' (legacy), and do a full text search for

相关标签:
2条回答
  • 2021-01-03 14:39

    For just a lucene index lookup with scoring you might be better off with this:

    http://neo4j.com/docs/stable/rest-api-indexes.html#rest-api-find-node-by-query

    0 讨论(0)
  • 2021-01-03 14:49

    I don't know which order algorithms does lucene use to order the results. However, about the pagination, if you change the order of limit and skip like follows, should be ok. start n=node:topic('name:(united states)') return n skip 10 limit 50 ;

    I would also add that if you are performing full-text search maybe a solution like solr is more appropriate.

    0 讨论(0)
提交回复
热议问题