Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
12-21-2020 11:31 AM
Hi Guys, real novice here and just experimenting with graphs. I have a query, can you include links to websites in node properties and when you do a graph search it searches the websites as well. Please excuse me if this is a stupid question.
Many thanks
12-22-2020 07:39 AM
the short answer is (technically speaking) no, at least not using simple cypher, you can store a url, and return the property (note urls are even clickable in neo4j browser...)
the long answer is you could implement the functionality in a few different ways. Just some examples off the top of my head
12-27-2020 07:33 AM
Thanks Joel. Very informative, appreciate your time.
12-27-2020 08:18 AM
we did have a use case similar to yours. we had to search for a keyword inside few websites inside the data.
you can't perform this operation directly. but rather have a python and BeautifulSoup functionality.
12-30-2020 08:54 AM
Thank you Dominic very informative
01-05-2021 11:38 AM
One thing to do, is periodically download the text of the website (which will be slow... and may annoy the websites by hitting them constantly) and then store the text into the Neo4J DB. Then do the full text indexing on this text field. You can do the search as Joel D suggested with apoc.load.html
but run periodically.
This is what search engines do: periodically grab the text from websites and index the text. It's a potentially expensive process.
01-05-2021 11:58 AM
This could lead to problems.
As I mentioned before, this functionally module, can reside outside neo4j, and used to Python + BeautifulSoup
All the sessions of the conference are now available online