Skip to content
Snippets Groups Projects
Commit fc108cad authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- fixed help

- added --fuzzy for phrase prefix search
parent 61b5f2fb
Branches
Tags
No related merge requests found
......@@ -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' ],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment