Adoxio / xRM-Portals-Community-Edition

The definitive edition of Microsoft Open Source Portals, supported by the experts in portals.
MIT License
107 stars 60 forks source link

Is Web File content indexed/searchable? #120

Closed mikemcg1 closed 5 years ago

mikemcg1 commented 5 years ago

Web Files aren't appearing in search results for us at all. Regardless of whether keywords are in the web file record, or the file itself. All search related site settings seem to be correct. All documentation (ADX and Dynamics) seem to indicate that Web Files should be indexed/searchable. Documentation seems unclear on if Web File attachment (content) is indexed (one place says yes, another page says no).

Any insights on why Web Files do not show in search results? And is Web File content indexable?

amervitz commented 5 years ago

The contents of web files are not indexed in this version.

It was however added as a new feature in the SAAS online portals from Microsoft, see Portal Capabilities for Microsoft Dynamics 365 Version 8.4.1.82 Release.

mikemcg1 commented 5 years ago

Thanks for the response Alan. Is the Web File Content/Summary also not indexed in this version? We're getting no web file results in search, even when we put keywords in the Content/Summary fields of the Web File entity record.

amervitz commented 5 years ago

Check if there is a view on the web file entity called Portal Search. If that view exists, the fields included in it should get indexed.

mikemcg1 commented 5 years ago

Thanks Alan, the view does exist. It looks like it's now working...must have taken a while to index.

Any idea how to force a re-index? Doesn't seem to have the options ADXStudio or Dynamics Portals do for Index rebuilding.

amervitz commented 5 years ago

You could try saving changes to the website record or publishing all customizations to trigger a rebuild.

mikemcg1 commented 5 years ago

Thanks, tried resetting site cache and other things that didn't work, will give that a go!