Searches

From EPrints Documentation
Revision as of 14:38, 8 September 2017 by Drn@ecs.soton.ac.uk (talk | contribs)
Jump to: navigation, search
Manual Sections

Warning.png

Work in Progress
The page is a work in progress.

This page is yet to be written.

EPrints has two main searches simple and advanced.

Simple search

Simple search by default provides a single text field for users to enter their search terms to search across a selection of different attributes of a publication. Typically this simple search will be included on repository's home page and/or as part of the template so users can conduct a search from any page. The simple search form can found at:

http://EPRINTS_HOSTNAME/cgi/search/simple

If you want to generate a pre-canned search the search terms are sent under the "q" parameter, e.g.

http://eprints.example.org/cgi/search/simple?q=Biological%20Science

By default the publication attributes which are search over are:

  • title
  • abstract
  • creators_name - Names of the authors of the publication
  • documents - The full text of PDF and Word documents uploaded for the publication
  • date - The primary date associated with the publication. Typically the publication date.

This set of attributes can be modified by copying EPRINTS_PATH/lib/defaultcfg/cfg.d/eprint_search_simple.pl to EPRINTS_PATH/archives/ARCHIVE_NAME/cfg/cfg.d/eprint_search_simple.pl and modifying the meta_fields section in the latter file. Other search options such as search results ordering, paging and formatting can also be modified, (see Search.pl for more details).

Advanced Search

To be written