How to customizing search results which contains the duplicate records

rakesh kumar asked on October 13, 2014 11:47

I want to customize the search result of lucene search :

DataSet results = SearchHelper.Search(searchText, SearchHelper.GetSort(srt), path, DocumentTypes, culture, defaultCulture, CombineWithDefaultCulture, CheckPermissions, SearchInAttachments, Indexes, displayResults, startPosition, numberOfProceeded, (UserInfo)CMSContext.CurrentUser, out numberOfResults, AttachmentsWhere, AttachmentsOrderBy)

Here numberOfResults showing the total no of searched records which contains the duplicate records as I want to get the count of the unique record on particular column.

Recent Answers


Juraj Ondrus answered on December 6, 2014 10:01

Hi Rakesh,

You will need to go through the data set and modify it to filter out the duplicates. For example, like described in this ASP forum.

Best regards, Juraj Ondrus

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.