Difference between revisions of "Searches"
(Added information for simple search) |
m (link formatting corrected + some minor improvements) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 4: | Line 4: | ||
== Simple search == | == 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 | + | 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 or as part of the template so users can conduct a search from any page. The simple search form can be found at: |
− | http://EPRINTS_HOSTNAME/cgi/search/simple | + | <nowiki>http://EPRINTS_HOSTNAME/cgi/search/simple</nowiki> |
If you want to generate a pre-canned search the search terms are sent under the "q" parameter, e.g. | 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 | + | <nowiki>http://eprints.example.org/cgi/search/simple?q=Biological%20Science</nowiki> |
By default the publication attributes which are search over are: | By default the publication attributes which are search over are: | ||
Line 17: | Line 17: | ||
* '''creators_name''' - Names of the authors of the publication | * '''creators_name''' - Names of the authors of the publication | ||
* '''documents''' - The full text of PDF and Word documents uploaded for the publication | * '''documents''' - The full text of PDF and Word documents uploaded for the publication | ||
− | * '''date''' - The primary date associated with 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/ | + | This set of attributes can be modified by copying '''EPRINTS_PATH/lib/defaultcfg_zero/cfg.d/eprint_search_simple.pl''' to '''EPRINTS_PATH/archives/ARCHIVEID/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 == | == Advanced Search == | ||
'''To be written''' | '''To be written''' |
Latest revision as of 17:07, 22 August 2022
Manual Sections | ||
|
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 or as part of the template so users can conduct a search from any page. The simple search form can be 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_zero/cfg.d/eprint_search_simple.pl to EPRINTS_PATH/archives/ARCHIVEID/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