inverted index with searching
removed the uniquecheck to when searching from when inserting