I am studying data structure, and would create a simple design of a database from the beginning, with support for simple CRUD operations.
I have some questions.
First: how data is stored and searched based on a tree structure B +
a) How a string "Every day birds sing with the wind" is stored in the tree?
b) Given a string "birds sing" how it is applied in finding a B + tree question A?
Second question: what is the best alternative algorithms / data structure to create a score by looking at the text, assuming that the same text of the question 1a, return me a higher score to the search for "every" than the search for "very"?
I'm not a megalomaniac, I just want to understand and perform tests of course with a few billion strings, but only for learning purposes.