I am using DNN 7.4.0 and I have created a custom module for products. The product details link to a different page (TabID=92) and on that page there is a module definition called "Details" where it reads the query string ProductID and returns it's details.
Now, my module has many definitions. I believe I made errors when I implemented the interface GetModifiedSearchDocuments and I included all the Definitions of my module in the indexer. When I search I get all the definitions under the search results with the same product title including the correct definition with the correct path.
How do I remove all the previous definitions from the search results? I tried re-indexing from (Admin/Search admin) but no help.
GetModifiedSearchDocuments
Dim pSettings As New PortalSettings(moduleInfo.PortalID)
Dim DetailUrl As String = DotNetNuke.Common.Globals.NavigateURL(92, pSettings, "", "ProductID=" & p.ProductID).ToString()
Adding the custom details URL to the searchdoc object:
Searchdoc.Url = DetailUrl