Content Search web Part is showing duplicate results when i access my web application using the url which is defined inside the Default zone

sharepoint.stackexchange https://sharepoint.stackexchange.com/questions/197203

문제

I am working on a SharePoint 2013 server . now we have the following alternative access mapping settings inside my central administration :-

enter image description here

Where inside the Default zone the http://SPS01/ is our web application which can also be access using http://www.ourcomapnyname.intra which is the Intranet zone. While the http://...:30670 is the central administration site.

Now when I access our web application using the actual server name http://SPS01/ the content search web part will show duplicate results as follow:-

enter image description here

While access it from the intranet url http://www.ourcompantname.intra will work well?

So can anyone advice on this please?

thanks

Edit now i have noted something on the duplicate urls, now each url will have different zone .so let say i have an item with the following ID =100 now this item will have duplicate results inside the content search web-part and each url will have different zone url, as follow:-

  • http://www.ourcompantname.intra/.../DispForm.aspx/ID=100

  • http://sps01/.../DispForm.aspx/ID=100

도움이 되었습니까?

해결책

Try the following steps:

  1. In the CSWP query builder, go to the Refiners tab

  2. Click the little “Show more” link at the bottom

  3. In the "Group By" dropdown, select "—Show all properties—" and then select DocumentSignature. After that click OK and save webpart.

Check the screenshot below:

enter image description here

This should work , but still it doesnt work, then export the webpart, find a property called DataProviderJSON, in that you will find the "TrimDuplicates" option. Set it to true. Upload the webpart again.

Reference links -

BEWARE OF DUPLICATES IN SHAREPOINT ONLINE’S CONTENT SEARCH WEB PART

SharePoint 2013 Search – Near Duplicates and DocumentSignature

Edit :

Looks like it's an issue with Search configuration. Go to Central Admin > Manage Service Applications Then go to the Search Service application > Content sources.

In the content sources, ensure that only the default zone urls of Web applications are present. Remove the urls of webapps present in non-default zone. Save the changes. Do a full crawl.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top