4

When we search for document in SharePoint it shows incorrect document version that is 8.1 when the document is sitting at 9.0 version, this document is check in and approved though it shows incorrect. when I click and try to open it then it is opening correct version of document(9.0). Can you please assist me with this. I really appreciate your help.

1
  • The Rev 8.1 version is just a string of text inside the document that SharePoint Search has indexed. It is not at all related to SharePoint version numbers. – Lars Fastrup Jul 28 '17 at 8:20
5

Search is just displaying the data as it got them when it indexed the content.

I assume that the text you're highlighting is a quick part showing the version number.

What happens is then the following.

  1. A user checks out and edits a draft version of the document (8.1)
  2. Word updates the quick part to show this version (8.1)
  3. At some point the document is approved (now version 9.0)
  4. But the text isn't really changed so when search indexes the document it sees the draft version in the text (8.1)
  5. When you open the document word gets the updated version (9.0) and updates the text, so you see the updated version (9.0), but search never sees this as part of the text, only as the document property.

Unfortunately there is no way to change the text crawled to be up to date if it's the SharePoint version number you use.

Here is a couple of other solution (just out of my head and not tested):

  1. Use another column in the quick part, could be calculated to be x.0 if approved and (x+1.0) when in draft
  2. Change display template to show Managed Property with version number
2
  • Thank you very much for your reply. It makes sense. Can you please advise what should I do in order to show correct one, If I reset search index and run full crawl does it resolve this issue?. – Valmikeshwar Reddy Jul 28 '17 at 10:45
  • Unfortunately there really isn't anything you can do to get the updated text because it'll not be stored until you change the document, but then it won't be 9.0 anymore. – Per Jakobsen Jul 28 '17 at 11:29
1

Please crawl your content again , this would be resolved. as Per Jakobsen correctly put the reason .

The content would not have crawled at that time, but actually content changed post crawl.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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