You are viewing limited content. For full access, please sign in.

Question

Question

Specific Syntax Search

asked on June 27, 2022 Show version history

Would someone be able to provide me a syntax search that will return all of my pdf documents that also have an electronic document associated with it?

Thank you so much!

 

EDIT:  I have a lot of pdf's in my environment where people ran a generate page on the pdf but never deleted the electronic file.  So I need to find those pdf's so I can delete them and not spend time on a "Generate Page" when its already been done.  Hopefully that makes more sense.

0 0

Replies

replied on June 27, 2022

Can I ask why you're looking to delete the original PDFs? If you ever want to export any of those documents back out for any reason, and your users aren't applying annotations or redactions to the LF image pages, you're best off keeping the originals. PDFs re-generated from TIFFs are often 10x larger than the originals (unless the originals were scans) because all the PDF pages are embedded images rather than a rendered text layer.

1 0
replied on June 27, 2022

This is from Windows Client version 10.2.

Here's what the searrch looks like with the built-in functionality:

Selecting that, automatically generates this search syntax: 

({LF:Ext="pdf"})

 

0 0
replied on June 27, 2022

Yes, but that will pull up all pdf's regardless if they have an electronic document or not and I only want to see pdf's that already have generated electronic documents.

0 0
replied on June 27, 2022

I'm a little confused what you mean - because the PDF is the electronic document.

0 0
replied on June 27, 2022

An electronic document is any item that isn't a native Laserfiche page/image.

Are you asking for PDF documents that do or do not have Laserfiche pages generated for them?

0 0
replied on June 27, 2022

Right, I was not too clear in my initial post.  I was looking for pdf pages that also had pages generated for them.  Sorry about that.  However, I was given this syntax that seemed to do the trick:

 

{LF:Name="*", Type="D"} & ({LF:Ext="pdf"}) & {LF:pagecount > 0}

1 0
replied on June 27, 2022

Okay, that makes sense.

0 0
replied on June 27, 2022

Watch out, Nicholas. LF:pagecount will include text pages if the PDF had text extracted, even if no TIFF images pulled out. You can replace that part with {LF:imagesize > 0}

2 0
You are not allowed to follow up in this post.

Sign in to reply to this post.