Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:architecture:solr_index_schema
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
development:architecture:solr_index_schema [2017/06/21 13:24] – [VuFind 4.0] demiankatz | development:architecture:solr_index_schema [2022/01/20 15:41] – [Recommended Dynamic Fields] demiankatz | ||
---|---|---|---|
Line 15: | Line 15: | ||
|author_corporate_role |string |same as author_role, | |author_corporate_role |string |same as author_role, | ||
|author_facet |textFacet |author names for use in faceting; copyfielded from author, author2 and author_corporate (introduced in VuFind 3.0 to replace authorStr) | | |author_facet |textFacet |author names for use in faceting; copyfielded from author, author2 and author_corporate (introduced in VuFind 3.0 to replace authorStr) | | ||
- | |author_fuller |textProper |fuller form of primary authors name(s); used for searching and relevance but not displayed. This became multi-valued in VuFind 3.0; it was single-valued prior to that. | | + | |author_fuller |textProper |fuller form of primary authors name(s); used for searching and relevance but not displayed. This became multi-valued in VuFind 3.0; it was single-valued prior to that. :!: Deprecated as of VuFind 8.0 and removed in VuFind 9.0 | |
|author_role |string |the roles of the primary authors of the work, generally indexed as relator codes which are translated at display time. Optional, but if populated, values should share the same order as the author element. (introduced in VuFind 3.0) | | |author_role |string |the roles of the primary authors of the work, generally indexed as relator codes which are translated at display time. Optional, but if populated, values should share the same order as the author element. (introduced in VuFind 3.0) | | ||
|author_sort |string |the author name to use for sorting (introduced in VuFind 3.0 to replace authorStr) | | |author_sort |string |the author name to use for sorting (introduced in VuFind 3.0 to replace authorStr) | | ||
|author_variant |text |contains variant forms of the name(s) found in author (introduced in VuFind 3.0) | | |author_variant |text |contains variant forms of the name(s) found in author (introduced in VuFind 3.0) | | ||
|author2 |textProper |secondary authors of the work | | |author2 |textProper |secondary authors of the work | | ||
- | |author2_fuller |textProper |same as author_fuller, | + | |author2_fuller |textProper |same as author_fuller, |
|author2_role |string |same as author_role, | |author2_role |string |same as author_role, | ||
|author2_variant |text |same as author_variant, | |author2_variant |text |same as author_variant, | ||
Line 75: | Line 75: | ||
|language |string |language(s) of the record | | |language |string |language(s) of the record | | ||
|last_indexed |date |see [[indexing: | |last_indexed |date |see [[indexing: | ||
+ | |long_lat |geo | Coordinates for use in geographic features. | | ||
|long_lat_display |text | Human-readable latitude and longitude. | | |long_lat_display |text | Human-readable latitude and longitude. | | ||
|long_lat_label |string | A descriptive label associated with the latitude and longitude. | | |long_lat_label |string | A descriptive label associated with the latitude and longitude. | | ||
Line 85: | Line 86: | ||
|publisher |textProper |name of publisher(s) | | |publisher |textProper |name of publisher(s) | | ||
|publisherStr |string |copyFielded from publisher; unused by default but could be used for faceting | | |publisherStr |string |copyFielded from publisher; unused by default but could be used for faceting | | ||
- | |recordtype | + | |record_format |
|series |text |series title(s); used for search and display | | |series |text |series title(s); used for search and display | | ||
|series2 |text |secondary series title(s); used for search, but only displayed when series is empty (possible candidate for future deprecation) | | |series2 |text |secondary series title(s); used for search, but only displayed when series is empty (possible candidate for future deprecation) | | ||
Line 111: | Line 112: | ||
===== Recommended Dynamic Fields ===== | ===== Recommended Dynamic Fields ===== | ||
- | VuFind looks for values in one dynamic | + | VuFind looks for values in some dynamic |
* doi_str_mv - [[https:// | * doi_str_mv - [[https:// | ||
* upc_str_mv - UPC code(s) for the record | * upc_str_mv - UPC code(s) for the record | ||
+ | * uuid_str_mv - UUIDs (Universally unique identifiers) for the record. These are commonly used in, for example, digital | ||
+ | | ||
===== Dynamic Field Suffixes ===== | ===== Dynamic Field Suffixes ===== | ||
Line 121: | Line 124: | ||
^ Field ^ Type ^ | ^ Field ^ Type ^ | ||
+ | |*_autocomplete |single-valued field for use by SolrPrefix autocomplete handler (added in VuFind 8.0) | | ||
|*_date |single date | | |*_date |single date | | ||
|*_date_mv |multiValued date | | |*_date_mv |multiValued date | | ||
- | |*_geo |multiValued | + | |*_geo |single |
+ | |*_geo_mv |multiValued geo-data | | ||
|*_isn |single isn | | |*_isn |single isn | | ||
|*_isn_mv |multiValued isn | | |*_isn_mv |multiValued isn | | ||
Line 135: | Line 140: | ||
|*_txtP_mv |multiValued textProper | | |*_txtP_mv |multiValued textProper | | ||
|*_random |single random | | |*_random |single random | | ||
- | |*_bool |single boolean | | + | |*_boolean |
For more details on dynamic fields, see the [[http:// | For more details on dynamic fields, see the [[http:// | ||
===== Changelog ===== | ===== Changelog ===== | ||
+ | |||
+ | ==== VuFind 8.0 ==== | ||
+ | |||
+ | The author_fuller and author2_fuller fields were deprecated, and MARC indexing for author and author2 was adjusted to include subfield q (see [[https:// | ||
+ | |||
+ | The *_autocomplete dynamic field suffix was added to support the new SolrPrefix autocomplete handler. | ||
+ | |||
+ | ==== VuFind 7.0 ==== | ||
+ | |||
+ | The deprecated recordtype field was completely removed; record_format MUST be used instead starting with this release. | ||
+ | |||
+ | ==== VuFind 6.0 ==== | ||
+ | |||
+ | The recordtype field was renamed to record_format (and is now indexed as well as stored, to facilitate format-based filtering). | ||
==== VuFind 4.0 ==== | ==== VuFind 4.0 ==== | ||
Line 145: | Line 164: | ||
The author_facet field is now stored as well as indexed for consistency with other facet fields. | The author_facet field is now stored as well as indexed for consistency with other facet fields. | ||
- | This field was removed, as it was only used by deprecated Google Maps functionality (the *_geo suffix takes its place): | + | Improved geographic features of the schema: |
- | ^ Field ^ Type ^ Description ^ | + | * Changed |
- | |long_lat | + | * Eliminated use of the dynamic location_geo field within the code |
+ | * Corrected the *_geo suffix to be single-valued | ||
+ | * Added *_geo_mv | ||
==== VuFind 3.1 ==== | ==== VuFind 3.1 ==== |
development/architecture/solr_index_schema.txt · Last modified: 2023/11/10 20:30 by demiankatz