Don't forget to set your row limit

Posted Thursday, April 10, 2008 10:49 AM by CoreyRoth

Recently, I wrote my own control to allow drilldown on Facets for one of our Enterprise Search pages, and someone pointed out to me that it never returns more than 50 results.  It was then I remembered seeing a RowLimit property on the KeywordQuery and FullTextSqlQuery classes.  I first checked the SDK to see if it mentioned a default.  It of course had not mention of anything.  I decided to set a value on the RowLimit property and in fact it did allow more results to be returned.  This is easy enough to fix, I just wish this had been documented somewhere (or maybe it is and I just never found it).

Comments

No Comments

Leave a Comment

(required)
(required)
(optional)
(required)