public List <Doc> search(string query, string indexPath) { tokenType = new SimpleTokenization(); var Tokenization = tokenType.tokenize(query); var IDs = base.search(Tokenization, indexPath); return(Doc.getDocsById(IDs)); }
public BaseIndex(IIndexStruch IIS, ITokenization TT) { indexStructure = IIS; tokenType = TT; }