alexshyba / SitecoreSearchContrib

Extension to Sitecore.Search namespace. Includes AdvancedDatabaseCrawler and Searcher. Make sure to check out the website for the project.
http://sitecorian.github.io/SitecoreSearchContrib
25 stars 21 forks source link

Pagination with Advanced Search Crawler #3

Closed t-oddwilson closed 11 years ago

t-oddwilson commented 12 years ago

I'm working on a new project using the Advanced Search Crawler. I'm wondering if you know of any examples using pagination. I see that QueryRunner.GetItems has a signature for passing in start and end items. My dilemma is that I need to display the total number of records available, not just the range that I pass in. So I'm wondering if you've seen this scenario before and if you have any suggestions on the way to handle it with the Advanced Search Crawler.

Thanks!

techphoria414 commented 11 years ago

Hi Todd,

If you check out my fork, I've added an out parameter that allows you to get the total number of results back as well.

https://github.com/techphoria414/SitecoreSearchContrib

Nick

alexshyba commented 11 years ago

This has been merged a while ago.