Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8832

Get all items from searchindex

$
0
0
HelloI'm looking to get all of the indexed items in the code. At this moment, I have this as codestring indexName = @indexname@; var index = SearchIndexInfoProvider.GetSearchIndexInfo(indexName); // returning 0 var itemChildrenNumbers = index.Children.Count; // returning an empty CombinedInfoObjectCollection var itemChildren = index.Children.All; // returning the right amount of indexed items var numberOfIndexedItems = index.NumberOfIndexedItems; How can i get all the indexed items in the code. I want to receive a list with the items.

Viewing all articles
Browse latest Browse all 8832

Trending Articles