searchable pdfs not searchable within sharepoint document library

%3CLINGO-SUB%20id%3D%22lingo-sub-2794928%22%20slang%3D%22en-US%22%3Esearchable%20pdfs%20not%20searchable%20within%20sharepoint%20document%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2794928%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20scanning%20invoices%20and%20creating%20searchable%20pdfs.%26nbsp%3B%20I've%20searched%20the%20contents%20of%20the%20invoices%20and%20they%20are%20searchable.%26nbsp%3B%20%26nbsp%3BHowever%2C%20when%20I%20upload%20them%20to%20the%20document%20library%20and%20search%20the%20document%20library%20for%20the%20contents%2C%20it%20doesn't%20find%20any%20results.%26nbsp%3B%20Why%20not%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20confirmed%20that%20the%20documenting%20library%20settings%20as%20shown%20in%20document%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Ftroubleshoot%2Fsearch%2Fsearch-results-missing%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Ftroubleshoot%2Fsearch%2Fsearch-results-missing%3C%2FA%3E%20%26nbsp%3B%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%20class%3D%22lia-list-style-type-circle%22%3E%3CLI%3EAllow%20this%20site%20to%20appear%20in%20Search%20results%20is%20set%20to%20Yes.%3C%2FLI%3E%3CLI%3EAllow%20items%20from%20this%20document%20library%20to%20appear%20in%20search%20results%3C%2FLI%3E%3CLI%3EAny%20user%20who%20can%20read%20draft%20items%3C%2FLI%3E%3CLI%3EAllow%20this%20site%20to%20appear%20in%20Search%20results%3C%2FLI%3E%3C%2FUL%3E%3CP%3EAny%20other%20ideas%20to%20what%20the%20problem%20could%20be%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2794928%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2807005%22%20slang%3D%22en-US%22%3ERe%3A%20searchable%20pdfs%20not%20searchable%20within%20sharepoint%20document%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2807005%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1125068%22%20target%3D%22_blank%22%3E%40alex_k60%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHiYou%20speak%20about%20sharepoint%20online%3F%3C%2FP%3E%3CP%3Ejust%20to%20be%20sure%2C%20when%20you%20are%20on%20a%20library%2C%20in%20the%20searchbox%2C%20could%20you%20type%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3Econtent%3A%3CA%20word%3D%22%22%20present%3D%22%22%20in%3D%22%22%20your%3D%22%22%20pdf%3D%22%22%20target%3D%22_blank%22%3E%20filetype%3Apdf%3C%2FA%3E%3C%2FCODE%3E%3CA%20word%3D%22%22%20present%3D%22%22%20in%3D%22%22%20your%3D%22%22%20pdf%3D%22%22%20target%3D%22_blank%22%3E%3C%2FA%3E%3C%2FPRE%3E%3CP%3EIt%20will%20specifically%20look%20for%20the%20content%20in%20all%20the%20pdf%20file.%20If%20you%20see%20result%2C%20your%20pdf%20are%20well%20searchable.%3C%2FP%3E%3CP%3EAre%20you%20using%20information%20right%20management%3F%20I%20think%20that%20in%20that%20case%2C%20the%20content%20is%20not%20searchable%20YET%20(%20something%20in%20the%20roadmap).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2807035%22%20slang%3D%22en-US%22%3ERe%3A%20searchable%20pdfs%20not%20searchable%20within%20sharepoint%20document%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2807035%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F492370%22%20target%3D%22_blank%22%3E%40Vertebre85%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20answering.%26nbsp%3B%26nbsp%3BUsing%20SharePoint%20online.%26nbsp%3B%20We're%20not%20using%20i%3CSPAN%3Enformation%20right%20management.%26nbsp%3B%20What%20else%20could%20it%20be%3F%26nbsp%3B%20I've%20even%20saved%20a%20word%20document%20as%20pdf%20and%20still%20cant%20search%20the%20contents.%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2807053%22%20slang%3D%22en-US%22%3ERe%3A%20searchable%20pdfs%20not%20searchable%20within%20sharepoint%20document%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2807053%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1125068%22%20target%3D%22_blank%22%3E%40alex_k60%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECould%20you%20go%20on%20the%20main%20page%20of%20sharepoint%20online%20(https%3A%2F%3A%3CYOURDOMAIN%3E.sharepoint.com%20and%20just%20try%20the%20search%20with%20the%20keyword%20%22content%3A...%22%20to%20see%20if%20it's%20a%20domain%20issue%20or%20a%20specific%20site%20issue%3F%3C%2FYOURDOMAIN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20it%20has%20never%20work%2C%20i%20would%20advise%20to%20reach%20the%20microsoft%20support.%20On%20Server%2C%20it's%20often%20due%20to%20issue%20with%20the%20search%20crawl.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eif%20you%20have%20the%20PNP%20powershell%2C%20you%20can%20look%20at%20the%20crawl%20log%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.sharepointdiary.com%2F2019%2F07%2Fget-search-crawl-log-in-sharepoint-online-using-powershell.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.sharepointdiary.com%2F2019%2F07%2Fget-search-crawl-log-in-sharepoint-online-using-powershell.html%3C%2FA%3E%3C%2FP%3E%3CP%3EIt's%20officialy%20not%20possible%20to%20start%2Frestart%20a%20manual%20crawl%20in%20sharepoint%20online.%20I've%20seen%20some%20%22hack%22%20but%20never%20tested%20it.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2808396%22%20slang%3D%22en-US%22%3ERe%3A%20searchable%20pdfs%20not%20searchable%20within%20sharepoint%20document%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2808396%22%20slang%3D%22en-US%22%3E%3CP%3EDone%20the%20above%20and%20seen%20a%20few%20items%20in%20the%20log%20file.%20Nothing%20for%20the%20document%20library%20in-particular%20at%20%3CA%20href%3D%22https%3A%2F%2Fcompanyname.sharepoint.com%2FFinance%2Fcompany1_invoices%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fcompanyname.sharepoint.com%2FFinance%2Fcompany1_invoices%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EHowever%2C%20there%20is%20the%20entry%20below%20%2C%20will%20that%20be%20the%20scan%20for%20the%20whole%20of%20finance%20or%20is%20that%20only%20scanning%20the%20root%20directory%20not%20the%20document%20library%20%22finance%2Fcompany1_invoices%22%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%22Url%20%3A%20%3CA%20href%3D%22https%3A%2F%2Fcompanyname.sharepoint.com%2FFinance%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fcompanyname.sharepoint.com%2FFinance%3C%2FA%3E%3CBR%20%2F%3ECrawlTime%20%3A%2003%2F10%2F2021%2015%3A02%3A38%3CBR%20%2F%3EItemTime%20%3A%2001%2F01%2F0001%2000%3A00%3A00%3CBR%20%2F%3ELogLevel%20%3A%20Success%3CBR%20%2F%3EStatus%20%3A%3CBR%20%2F%3EItemId%20%3A%2011257%3CBR%20%2F%3EContentSourceId%20%3A%201%22%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

We are scanning invoices and creating searchable pdfs.  I've searched the contents of the invoices and they are searchable.   However, when I upload them to the document library and search the document library for the contents, it doesn't find any results.  Why not?

 

I've confirmed that the documenting library settings as shown in document https://docs.microsoft.com/en-us/sharepoint/troubleshoot/search/search-results-missing  :

 

  • Allow this site to appear in Search results is set to Yes.
  • Allow items from this document library to appear in search results
  • Any user who can read draft items
  • Allow this site to appear in Search results

Any other ideas to what the problem could be? 

 

 

 

8 Replies

@alex_k60 

HiYou speak about sharepoint online?

just to be sure, when you are on a library, in the searchbox, could you type 

 

content:<a word present in your pdf> filetype:pdf

 

It will specifically look for the content in all the pdf file. If you see result, your pdf are well searchable and the issue is somewhere else.

Are you using information right management? I think that in that case, the content is not searchable YET ( something in the roadmap).

 

@Vertebre85 

Thanks for answering.  Using SharePoint online.  We're not using information right management.  What else could it be?  I've even saved a word document as pdf and still cant search the contents.  

 

Thanks 

@alex_k60 

Could you go on the main page of sharepoint online (https:/:<yourdomain>.sharepoint.com and just try the search with the keyword "content:..." to see if it's a domain issue or a specific site issue?

 

If it has never work, i would advise to reach the microsoft support. On Server, it's often due to issue with the search crawl.

 

if you have the PNP powershell, you can look at the crawl log https://www.sharepointdiary.com/2019/07/get-search-crawl-log-in-sharepoint-online-using-powershell.h...

It's officialy not possible to start/restart a manual crawl in sharepoint online. I've seen some "hack" but never tested it.

Done the above and seen a few items in the log file. Nothing for the document library in-particular at https://companyname.sharepoint.com/Finance/company1_invoices

However, there is the entry below , will that be the scan for the whole of finance or is that only scanning the root directory not the document library "finance/company1_invoices"


"Url : https://companyname.sharepoint.com/Finance
CrawlTime : 03/10/2021 15:02:38
ItemTime : 01/01/0001 00:00:00
LogLevel : Success
Status :
ItemId : 11257
ContentSourceId : 1"

@alex_k60 

Hi
Seing your url, the "finance" stuff seems to be a subsite and not a separate website.
Could you go in the " https://companyname.sharepoint.com", press the cog wheel and check for the "search and offline availibility". If the search option is turn off, it's apply to the subsites.

Vertebre85_0-1633343280114.png

Verify then all the settings on the parent sites before.

Small note, subsites are not recommended anymore, it's best (unless specific requirement) to create separate websites and link it to a hub ( also Hub of hubsite is currently in roll out)

 

@Vertebre85 

 

all sites are enabled :

 

alex_k60_0-1633351112134.png

 

 

Thanks for the tips on subsites :) 

OCR is now working within SharePoint. There was a search option within the scanning software that I enabled. The confusing thing about this is that before the option was enabled, I was able to search the pdf for content using foxit. The other weird problem is that even after the option was enabled I could search in the sharepoint search box for say "ABC company" and it would find text but if I used "content: ABC company filetype:pdf" it wont find anything.

@alex_k60 Glad you solve it. I didn't expect something in the OCR, i'm not familiar with PDF to be honest.

Concerning the property of the pdf, SHarepoint is able to find it.

Vertebre85_0-1633604867694.png

 

For example, all the property are considered as metadata and if you have put your company as metadata, you can search for it and Sharepoint will give you data.