C# Class MongoSearch.Searcher

显示文件 Open project: LittleLin/MongoSearch Class Usage Examples

Public Methods

Method Description
Search ( Repository repo, String keyword, int fetchSize ) : SearchResult

搜尋主體

Search ( Repository repo, String keyword, int startPos, int fetchSize ) : SearchResult

Private Methods

Method Description
CheckDocumentIsHitted ( Int32>.List keywordTokens, int tokenSeq, List checkedIndex, IndexElement previosIndex ) : bool

確認文件是否被搜尋到

GetDocumentById ( int docId ) : String

以 Doc Id 取出文件

Searcher ( ) : System

Method Details

Search() public method

搜尋主體
public Search ( Repository repo, String keyword, int fetchSize ) : SearchResult
repo Repository
keyword String
fetchSize int
return MongoSearch.Structure.SearchResult

Search() public method

public Search ( Repository repo, String keyword, int startPos, int fetchSize ) : SearchResult
repo Repository
keyword String
startPos int
fetchSize int
return MongoSearch.Structure.SearchResult