Difference between revisions of "Search.pl"
(Added info about staff search) |
(Added page about config file) |
||
Line 1: | Line 1: | ||
− | + | {{dirs}} | |
− | + | {{cfgd}} | |
− | |||
− | + | '''search.pl''' contains generic configution for search. Specific configuration for individual searches exist in their own configuration files: | |
− | + | * '''[[eprint_search_simple.pl]]''' - Simple search over eprints. | |
− | + | * '''[[eprint_search_advanced.pl]]''' - Advanced search over eprints. | |
− | + | * '''[[eprint_search_staff.pl]]''' - Restricted staff-only search over eprints. | |
− | + | * '''[[issues_search.pl]]''' - Search over issues with eprints. | |
− | + | * '''[[latest_tool.pl]]''' - Displaying different listings for latest eprints. | |
− | + | * '''[[user_review_scope.pl]]''' - Managing which eprinst an EPrints ''editor'' user review. | |
− | + | * '''[[user_search.pl]]''' - Search over user records. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | The configuration within the file includes: | |
− | + | * '''<code>$c->{match_start_of_name}</code>''' - Text entered in name search field should only match from the start of name. | |
− | + | * '''<code>$c->{latest_citation}</code>''' - What citation style should be used in latest item listing, if no citation style is specified for that listing mode. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | ||
− | $c->{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | $c->{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 19:35, 30 January 2022
EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects
search.pl contains generic configution for search. Specific configuration for individual searches exist in their own configuration files:
- eprint_search_simple.pl - Simple search over eprints.
- eprint_search_advanced.pl - Advanced search over eprints.
- eprint_search_staff.pl - Restricted staff-only search over eprints.
- issues_search.pl - Search over issues with eprints.
- latest_tool.pl - Displaying different listings for latest eprints.
- user_review_scope.pl - Managing which eprinst an EPrints editor user review.
- user_search.pl - Search over user records.
The configuration within the file includes:
$c->{match_start_of_name}
- Text entered in name search field should only match from the start of name.$c->{latest_citation}
- What citation style should be used in latest item listing, if no citation style is specified for that listing mode.