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

Question

Question

Search for line, polygon etc annotations

asked on September 5, 2014

 HI, can you search for line, polygon ("shapes") annotations? I am leaning towards no but can you please confirm? If you can, can you provide what the syntax would be?

 

Thanks Valerie

0 0

Answer

SELECTED ANSWER
replied on September 8, 2014

Customer just wants to search how many documents they have with such annotations.

Thanks for your confirmation that there is no way to do this.

 

0 0

Replies

replied on September 5, 2014

Hi Valerie,

 

You can search for annotation type using this in the advanced search. Redaction.

 

{LF:AnnType=“type”}

 

type is the type of annotation.

 

Possible types:
• highlight or H
• note or N (for sticky note)
• redaction or R
• stamp or S

 

Attached is also the advanced search whitepaper. The annotations section is P22 - P25.

 

Hope this helps! laugh

0 0
replied on September 5, 2014

HI Chris, thanks but don't think that is what I am looking for ( as a line /polygon is not a highlight/sticky note/ redaction or a stamp). Might be able to use the color one but....

 

0 0
replied on September 5, 2014

Hi Valerie,

 

Ah yes! See what you mean! Guess this will have to be a feature request unless there is an updated version of the advanced search syntax whitepaper kicking around (the latest one I can find is 8.3!)

 

Cheers! smiley

0 0
replied on September 8, 2014

HI. is there an answer or verification ( that this would be a feature request)  from LF?

valerie

0 0
replied on September 8, 2014

There isn't a way to search for polygon annotations at the moment. What's the use case? How are you planning on using it?

 

0 0
replied on September 10, 2014

If you're just looking for a count, you can get it with a SQL query:

 

  select count(distinct page_id) from ann where ann_type = 14

 

0 0
replied on September 11, 2014 Show version history

The above query will count how many pages have such an annotation. To get a count of the number of documents you'll want to run the following query:

select count(distinct tocid)
from ann join doc on ann.page_id = doc.page_id
where ann_type = 14 and doc.pagenum >= 0

Here's a list of ann_type values: highlight = 0, redaction = 2, strikeout = 4, underline = 6, sticky note = 8, attachment = 9, textbox = 10, line = 12, rectangle = 13, polyline = 14, call-out = 15, stamp = 16 or 11, free-hand drawing = 17.

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

Sign in to reply to this post.