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
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
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.
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!
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....
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!
HI. is there an answer or verification ( that this would be a feature request) from LF?
valerie
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?
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
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.