I am trying to write code to create a small application to search for text from files.
Files need to be scanned, and I need to put an inverted index to speed up the search.
My problem is that I have ideas on what the parser will look like; I want to implement AND, NOT, OR in a query.
While I couldn't figure out what my index should be ... I never created an inverted index, so if anyone could suggest a possible way to do this, I would be very grateful. I know theoretically how this works, but my problem is that I absolutely do not know how this happened in MySql. I also need to specify weight indices.
Ayman source
share