Jump to content
Wiki Home
EPrints Home
Bazaar
Files
Main menu
Main menu
move to sidebar
hide
Navigation
Front Page
EPrints 3 Manual
EPrints Training Course
EPrints Glossary
Installing EPrints
How-to Configure EPrints
EPrints 3.2+ API
EPrints 3 Reference
EPrints Plugins
Wiki
All categories
Recent changes
Main Page
Help
EPrints Documentation
Search
Search
Appearance
Log in
Request account
Personal tools
Log in
Request account
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:EPrints Metadata Fields Content
(section)
Template
Discussion
British English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Ordering, Indexing and Searching === {| cellpadding="3" cellspacing="0" border="1" ! Name !! Default Value !! Required !! Description !! Notes |- | '''make_single_value_orderkey''' || <tt>undef</tt> || NO || The <tt>orderkey</tt> function (potentially language specific) used to order by this field. || This property allows you to define a function or refer to a predefined function to override the default EPrints' orderkey generation. This property is passed each value from multiple fields, in turn. It is passed: <code>$field, $value, $dataset</code> and returns an <tt>ordervalue</tt> string. |- | '''make_value_orderkey''' || <tt>undef</tt> || NO || Like <tt>make_single_value_orderkey</tt> but this is passed the array reference for a multiple field rather than just single values. || It should return the <tt>orderkey</tt> string for the entire value. It is passed: <code>$field, $value, $session, $langid, $dataset</code>. |- | '''match''' || <tt>EQ</tt> || NO || How to match the value(s) of this field against search terms. || This property can be <tt>EQ</tt>, <tt>EX</tt>, <tt>IN</tt> or <tt>SET</tt>. Default <tt>EQ</tt> means treat the search term as a single string. Match only whole search term matches the field value (or one of its values if <code>multiple => 1</code>). This can be modified for the [[API:EPrints/Search/Field|field in the search form configuration]]. |- | '''merge''' || <tt>ALL</tt> || NO || Whether this field's values(s) has to match any or all of the search terms || This property can be <tt>ALL</tt> or <tt>ANY</tt>, Default <tt>ALL</tt> means all search terms have to match the values(s) in this field. This can be modified for the [[API:EPrints/Search/Field|field in the search form configuration]]. For certain values of <tt>match</tt> this can also be changed by the user in the search form itself. |- | '''text_index''' || <tt>0</tt> || NO || Whether the indexer considers this field for full-text indexing. || Some types of metadata field have a default of <tt>1</tt>, e.g. [[Text field]]s and [[Longtext field]]s. |- | '''search_cols''' || <tt>40</tt> || NO || How many characters (columns) wide the input field for searching this field. || The default value for this property is taken from <tt>cfg.d/[[field_property_defaults.pl]]</tt>. If one search field searches more than one field, then the properties from the first field listed are used. |}
Summary:
Please note that all contributions to EPrints Documentation may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
EPrints Documentation:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)