my $term = $self->getTerm();
my $relation = $self->getRelation();
+ # Per http://www.loc.gov/standards/sru/specs/cql.html
+ # "All parts of CQL are case insensitive [...] If any case insensitive
+ # part of CQL is specified with both upper and lower case, it is for
+ # aesthetic purposes only."
+
+ # So fold the qualifier and relation to lower case
+ $qualifier = lc($qualifier);
+ $relation = $relation;
+
my $query;
if ( $qualifier ) {
my ($qset, $qname) = split(/\./, $qualifier);
$log->debug("SRU toEvergreen: $qset, $qname $qualifier_map{$qset}{$qname}{'index'}\n");
}
- my @modifiers = $relation->getModifiers();
+ my @modifiers = map lc, $relation->getModifiers();
my $base = $relation->getBase();
if ( grep { $base eq $_ } qw/= scr exact all/ ) {