Index pdf annotations separately under field name annotation. Add annot, pdfannot and pa aliases.
This commit is contained in:
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
|
||||
topdir=`dirname $0`/..
|
||||
. $topdir/shared.sh
|
||||
|
||||
initvariables $0
|
||||
|
||||
(
|
||||
recollq '"new test JF annotation using Adobe Acrobat X"'
|
||||
|
||||
# This supposes that the fields file is customized, which is not
|
||||
# the case by default
|
||||
echo
|
||||
echo "Extracting the value for an annotation field:"
|
||||
recollq -F annotation pdfannot:'"DAVID: Test of a highlight"' | \
|
||||
tail -1 | base64 -d
|
||||
|
||||
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
|
||||
|
||||
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
||||
|
||||
checkresult
|
||||
@@ -0,0 +1,5 @@
|
||||
1 results
|
||||
application/pdf [file:///home/dockes/projets/fulltext/testrecoll/pdf-annots/Présidentielle en Biélorussie .pdf] [Présidentielle en Biélorussie : la candidate de l’opposition, Svetlana Tikhanovskaïa, s’est réfugiée en Lituanie] 325430 bytes
|
||||
|
||||
Extracting the value for an annotation field:
|
||||
P.: 3, D:20200904094331+00'240', highlight : None P.: 3, D:20200904100158+00'240', highlight : DAVID: Test of a highlight that has a note attached to
|
||||
Reference in New Issue
Block a user