A
A
Alexander2020-09-10 22:00:55
MySQL
Alexander, 2020-09-10 22:00:55

What is the best way to search through large volumes of text fields?

Let's say we have a couple of million - ten million records, they have a text field for 10k characters, the user enters some phrase in the search, we need to find matches (not only at the beginning, but also in the middle). How is such a search mechanism implemented, so that the request passes quickly?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2020-09-10
@AleksandrB

https://dev.mysql.com/doc/refman/8.0/en/fulltext-s...
but better for such sphinxsearch or manticoresearch

I
index0h, 2020-09-11
@index0h

Check out Elasticsearch. Although the muscle has fulltext indexes, it is better to use tools designed for fulltext search, with all sorts of weights and morphological parsing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question