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

- fixed ldp handling

parent 2671716e
Branches
No related tags found
No related merge requests found
...@@ -54,7 +54,19 @@ sub prepare_aip_query ($opt) { ...@@ -54,7 +54,19 @@ sub prepare_aip_query ($opt) {
if (exists $opt->{only_ldp_saxon}) { if (exists $opt->{only_ldp_saxon}) {
push @must, { push @must, {
"match_phrase" => { "match_phrase" => {
"transferMetadata.bim:bag-info_dict.bim:LDP-funder.keyword" => 'LDP: Sachsen' "transferMetadata.bim:bag-info_dict.bim:LDP-funder" => 'LDP: Sachsen'
}
}
}
if (exists $opt->{only_ldp_without_saxon}) {
push @must_not, {
"match_phrase" => {
"transferMetadata.bim:bag-info_dict.bim:LDP-funder" => 'LDP: Sachsen'
}
};
push @must, {
"exists" => {
field => "transferMetadata.bim:bag-info_dict.bim:LDP-funder"
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment