0

We are using the below URL to search the data.

/_api/search/query?querytext='test''&selectproperties='UniqueId, Title, OriginalPath, ServerRedirectedEmbedURL, ServerRedirectedPreviewURL'&clienttype='ContentSearchRegular'&rowlimit=100&startrow=0

In the result for .doc files, the returned Title is not the title set up in SharePoint but the ones from the Doc files. Can we somehow force to get back the SharePoint title which is different?

Thanks

1
  • Does your document library have a title column? Oct 31, 2019 at 11:56

1 Answer 1

0

Since Title managed property has mapping several crawled properties including MetadataExtractorTitle, TermTitle and so on.

MetadataExtractorTitle is the title extracted from the body of Word documents and PowerPoint presentations. And TermTitle is the title of the item in SharePoint.

If you want to display the title of the item in SharePoint in the search query result, try to set TermTitle crawled property’s priority to 0 in the search service application and start a full crawl.

Reference: Show more relevant Titles in search results in SharePoint 2013 plus some other improvements

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.