Jump to content

Search field

From EPrints Documentation


Description[edit]

Serialisation of a search over a particular dataset.

Inheritance[edit]

Additional Properties[edit]

Name Default Value Required Description Notes
datasetid n/a YES The ID of the dataset for which this serialised search if over.
fieldnames undef NO Names of fields that can be searched over.
fieldnames_config undef NO Gets list of fieldnames from a function call.

Required Phrases[edit]

No additional phrases beyond those required for Longtext fields.

Database[edit]

Search fields are stored in the database as

fieldname LONGTEXT

API[edit]

See API page.

Examples[edit]

Most basic example.

{ 
    name => "spec", 
    type => "search", 
    datasetid => "eprint",
}