public WordIndexReader(string word, WordStepDocIndex wordStepDocIndex, int totalDocs, Data.DBProvider dbProvider, IndexFileProxy indexProxy, int maxReturnCount) { _Word = word; _IndexReader = new IndexReader(wordStepDocIndex, indexProxy); _DBProvider = dbProvider; _DelProvider = _DBProvider.DelProvider; //_TabIndex = tabIndex; _TotalDocs = totalDocs; _WordCountSum = wordStepDocIndex.WordCountSum; _RelDocCount = wordStepDocIndex.RelDocCount; if (maxReturnCount < 0) { _Count = _RelDocCount; } else { _Count = Math.Min(maxReturnCount, _RelDocCount); } //UpdateDocScoreList(); }
public IndexFile(string path, IIndexFile indexFileInterface, IndexFileProxy indexProxy) { _IndexFileInterface = indexFileInterface; _Path = Hubble.Framework.IO.Path.AppendDivision(path, '\\'); _IndexFileProxy = indexProxy; }
public IndexMerge(string indexDir, IndexFileProxy indexFileProxy) { _IndexDir = Hubble.Framework.IO.Path.AppendDivision(indexDir, '\\'); _IndexFileProxy = indexFileProxy; }
public IndexReader(WordStepDocIndex wsdi, IndexFileProxy indexProxy) { _WordStepDocIndex = wsdi; _IndexFileProxy = indexProxy; }