Method CreateResults
CreateResults(IndexSearcher, TopFieldDocs, Int32, String, Boolean, IEnumerable<String>, String)
Create the results based on the search hits.
Can be overridden by subclass to add particular behavior (e.g. weight transformation)
Declaration
protected virtual IList<Lookup.LookupResult> CreateResults(IndexSearcher searcher, TopFieldDocs hits, int num, string charSequence, bool doHighlight, IEnumerable<string> matchedTokens, string prefixToken)
Parameters
Type |
Name |
Description |
IndexSearcher |
searcher |
|
TopFieldDocs |
hits |
|
System.Int32 |
num |
|
System.String |
charSequence |
|
System.Boolean |
doHighlight |
|
IEnumerable<System.String> |
matchedTokens |
|
System.String |
prefixToken |
|
Returns