B
B
Benderlidze2016-01-26 18:28:44
MySQL
Benderlidze, 2016-01-26 18:28:44

Shingles algorithm and mysql?

I have a table of texts.
Each has shingles - I store each shingle in a separate table.
I want to add a new text to the database - I make shingles for it and I need to compare it with those that already exist, i.e. find matches (intersections).
How to do this using mysql i.e. in php for example it is array_intersect ?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2016-01-26
@Benderlidze

It all depends on the organization of the base and what you want to get.
Usually this is done via (for)each in stored procedures.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question