projects
/
Biblio-Z3950.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
single field search mapping to fill text indexes
[Biblio-Z3950.git]
/
server.pl
diff --git
a/server.pl
b/server.pl
index
715eee0
..
91d45a1
100755
(executable)
--- a/
server.pl
+++ b/
server.pl
@@
-11,6
+11,8
@@
use Aleph;
use GoogleBooks;
use vuFind;
use DPLA;
use GoogleBooks;
use vuFind;
use DPLA;
+use AlephTR;
+use CROSBI;
use Encode;
use Encode;
@@
-23,6
+25,10
@@
my $databases = {
'GOOGLEBOOKS' => 'GoogleBooks',
'HATHITRUST' => 'vuFind',
'DPLA' => 'DPLA',
'GOOGLEBOOKS' => 'GoogleBooks',
'HATHITRUST' => 'vuFind',
'DPLA' => 'DPLA',
+ 'MKUTUP' => 'AlephTR',
+ 'CROSBI' => 'CROSBI',
+ 'CROSBI-CASOPIS' => 'CROSBI',
+ 'CROSBI-PREPRINT' => 'CROSBI',
};
my $max_records = 10; # XXX configure this
};
my $max_records = 10; # XXX configure this
@@
-284,7
+290,7
@@
warn "# usemap ", dump($usemap);
warn "# using custom prefix_term query";
$q = $usemap->{prefix_term}->( $prefix, $self->{term} );
} else {
warn "# using custom prefix_term query";
$q = $usemap->{prefix_term}->( $prefix, $self->{term} );
} else {
- $q = $prefix . $self->{term} . '*';
+
$q = $prefix . $self->{term} . '*';
}
print "# q: $q\n";
return $q;
}
print "# q: $q\n";
return $q;