Use a custom delegate to get search items for each input document. Only the reference and search field keys
will be retrieved from the returned item(s), all other values will be ignored (I.e. they won't be added to
the search automatically).
Syntax
public GenerateLunrIndex WithSearchItems(Config<IEnumerable<IEnumerable<KeyValuePair<string, object>>>> getSearchItems)
Parameters
Name |
Type |
Description |
getSearchItems |
Config<IEnumerable<IEnumerable<KeyValuePair<string, object>>>> |
A delegate that gets search items. |
Return Value