Passionate full stack web developer, course author for Educative, book author for Packt, he/him.
Find my work and get to know me on my Linktree: https://linktr.ee/thormeier
Hey, that highly depends on your current database structure and technology. If you're using a relational database, such as Oracle, Postgres or MySQL, I would suggest the following database model:
You can put the text and some auto-generated ID in the table texts and store their similarities in the table similarities.
The exact queries for this, again, depend on your database structure and technology.
Hey, that highly depends on your current database structure and technology. If you're using a relational database, such as Oracle, Postgres or MySQL, I would suggest the following database model:
You can put the text and some auto-generated ID in the table
texts
and store their similarities in the tablesimilarities
.The exact queries for this, again, depend on your database structure and technology.
Does this help?
Thank you so much ❤