Matrix and Inverted index + search