diff --git a/lib/SLUB/LZA/TA/Command/search.pm b/lib/SLUB/LZA/TA/Command/search.pm index d95d0d6de460b2482d5a85ea0100361b7be30be0..a3384c19c95fb6d7472b29d597058ce8bb895b28 100644 --- a/lib/SLUB/LZA/TA/Command/search.pm +++ b/lib/SLUB/LZA/TA/Command/search.pm @@ -22,14 +22,10 @@ Examples: * Which AIP has this dc identifier? '$0 search -d SLUB:LZA:Kitodo:kitodo:422766' - * Which AIPs are public domain? - '$0 search -s publicdomain' - * Which AIPs are copyrighted? - '$0 search -s copyrighted' * Which AIPs were created in 2021-05-31? '$0 search -c 2021-05-31' * Which AIPs with mkv-files are in archive? - '$0 search --pronom-format fmt/569' + '$0 search --pronom-id fmt/569' * Which AIP has this dc identifier? Print the AIP id, lzaid of matching AIP as Rows of String Values (RSV) '$0 search -d SLUB:LZA:Kitodo:kitodo:422766 --with-lzaid --output-as-rsv' @@ -64,10 +60,10 @@ sub opt_spec { ] } ], - [ 'descriptive|d=s', 'search descriptive metadata (dc identifier)' ], + [ 'descriptive|d=s', 'search descriptive metadata (dc identifier), using exact match' ], + [ 'fuzzy|f=s', 'search descriptive metadata (dc identifier), using phrase prefix match' ], [ 'lzaid|l=s', 'search a specific AIP by given LZA id' ], [ 'maxrecords=i', 'set maxrecords, default is 10', { default => 10 } ], - #[ 'source|s=s', 'search source metadata' ], [ 'startrecord=i', 'set startrecord, default is 1' ], [ 'format' => hidden => { one_of => [ [ 'pronom-id|p=s' => 'with pronom format id' ],