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

- added --fuzzy for phrase prefix search

parent fc108cad
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ Examples: ...@@ -24,7 +24,7 @@ Examples:
* How many AIPs were created in 2021-05-31? * How many AIPs were created in 2021-05-31?
'$0 count -c 2021-05-31' '$0 count -c 2021-05-31'
* How many AIPs with mkv-files are in archive? * How many AIPs with mkv-files are in archive?
'$0 count --with-format fmt/569' '$0 count --pronom-id fmt/569'
DESCR DESCR
sub description { sub description {
...@@ -42,11 +42,12 @@ sub opt_spec { ...@@ -42,11 +42,12 @@ sub opt_spec {
] ]
} }
], ],
["descriptive|d=s" => "count based on string search in descriptive metadata"], ['descriptive|d=s' => 'count based on string search in descriptive metadata, using exact match'],
["lzaid|l=s", "count AIPs by given LZA id"], ['fuzzy|f=s' => 'count based on string search in descriptive metadata, using phrase prefix match' ],
["format" => hidden => {one_of => [ ['lzaid|l=s' => 'count AIPs by given LZA id'],
["pronom-id|p=s" => "with pronom format id"], ['format' => hidden => {one_of => [
#["without-format=s" => "without pronom format id"], ['pronom-id|p=s' => 'with pronom format id'],
#['without-format=s' => "without pronom format id"],
] } ], ] } ],
[ 'onlymode' => hidden => { [ 'onlymode' => hidden => {
one_of => [ one_of => [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment