Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-27-2019 10:19 AM
As of Neo4j 3.5 we have a fulltext search index. Specifically it’s Lucene 5.5.5. In Lucene 5.5.4 a magical feature was added to Lucene called MoreLikeThis. Given a document (translates to a node with properties containing text strings) this feature will find all other documents that are most like it in comparison to the entire collection of documents in question.
I would like to experiment with this Lucene feature. How can I call that function from Cypher? Is it present out of the box with Neo4j? Do I have to import it?
Solved! Go to Solution.
05-28-2019 01:02 AM
That functionality is not available via Cypher. Technically it should be possible by using private APIs to get a reference to the IndexReader instance and then use a stored procedure implementing code inspired by https://dzone.com/articles/lucene-morelikethis-example.
I consider this an interesting feature for apoc. Do you mind creating a github issue for this at https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues ?
05-28-2019 01:02 AM
That functionality is not available via Cypher. Technically it should be possible by using private APIs to get a reference to the IndexReader instance and then use a stored procedure implementing code inspired by https://dzone.com/articles/lucene-morelikethis-example.
I consider this an interesting feature for apoc. Do you mind creating a github issue for this at https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues ?
05-29-2019 04:47 AM
Done! => https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/1216
Love the enthusiasm Stefan!
05-29-2019 12:56 PM
I'll investigate on it but cannot commit on a timeline yet - being "slightly" busy.
05-31-2019 04:12 AM
We're happy to assist with testing.
All the sessions of the conference are now available online