⧼vector-jumptocontent⧽

Search field: Difference between revisions

From EPrints Documentation
Made search field the same as othe field pages' structure.
No edit summary
 
Line 1: Line 1:
{{fieldtypes}}
{{fieldtypes}}


== Description ==
== Description ==
Serialisation of a search over a particular dataset.


== Inheritance ==
== Inheritance ==

Latest revision as of 15:54, 16 April 2023


Description

Serialisation of a search over a particular dataset.

Inheritance

Additional Properties

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

No additional phrases beyond those required for Longtext fields.

Database

Search fields are stored in the database as

fieldname LONGTEXT

API

See API page.

Examples

Most basic example.

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