<<

NAME

Koha::Schema::Result::SearchField

TABLE: search_field

ACCESSORS

id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

name

  data_type: 'varchar'
  is_nullable: 0
  size: 255

the name of the field as it will be stored in the search engine

label

  data_type: 'varchar'
  is_nullable: 0
  size: 255

the human readable name of the field, for display

type

  data_type: 'enum'
  extra: {list => ["","string","date","number","boolean","sum","isbn","stdno","year","callnumber","geo_point"]}
  is_nullable: 0

what type of data this holds, relevant when storing it in the search engine

weight

  data_type: 'decimal'
  is_nullable: 1
  size: [5,2]

facet_order

  data_type: 'tinyint'
  is_nullable: 1

the order place of the field in facet list if faceted

staff_client

  data_type: 'tinyint'
  default_value: 1
  is_nullable: 0

opac

  data_type: 'tinyint'
  default_value: 1
  is_nullable: 0

mandatory

  data_type: 'tinyint'
  is_nullable: 1

if marked this field is not editable or removable

authorised_value_category

  data_type: 'varchar'
  is_nullable: 1
  size: 32

link to authorised value category

PRIMARY KEY

UNIQUE CONSTRAINTS

name

RELATIONS

search_marc_to_fields

Type: has_many

Related object: Koha::Schema::Result::SearchMarcToField

<<