Warning: This page has not been updated in over over a year and may be outdated or deprecated.
indexing:hierarchies_and_collections
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
indexing:hierarchies_and_collections [2015/12/21 16:47] – ↷ Links adapted because of a move operation demiankatz | indexing:hierarchies_and_collections [2023/11/28 20:13] (current) – [Hierarchies and Collections] demiankatz | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Hierarchies and Collections ====== | ====== Hierarchies and Collections ====== | ||
- | |||
- | // The features described on this page are available starting with VuFind 1.4. // | ||
===== Hierarchies ===== | ===== Hierarchies ===== | ||
- | Some document collections are structured hierarchically. | + | Some document collections are structured hierarchically. |
==== Solr Setup ==== | ==== Solr Setup ==== | ||
- | To display hierarchies, | + | To display hierarchies, |
- | * **hierarchytype** - The type of hierarchy being used (this triggers loading of a hierarchy driver; it is usually easiest to leave it blank, causing | + | * **hierarchytype** - The type of hierarchy being used (this triggers loading of a hierarchy driver; it is usually easiest to leave it blank, causing |
* **hierarchy_browse** - Optional, see [[#Setting Up Browsing]] below. | * **hierarchy_browse** - Optional, see [[#Setting Up Browsing]] below. | ||
* **hierarchy_top_id** - The Solr ID of the record representing the top of the hierarchy containing the current record. | * **hierarchy_top_id** - The Solr ID of the record representing the top of the hierarchy containing the current record. | ||
Line 26: | Line 24: | ||
* **is_hierarchy_id** - If the current record represents a node within a hierarchy, this field should contain the same value as the regular id field. | * **is_hierarchy_id** - If the current record represents a node within a hierarchy, this field should contain the same value as the regular id field. | ||
* **is_hierarchy_title** - If the current record represents a node within a hierarchy, this field should contain the same value as the regular title field. | * **is_hierarchy_title** - If the current record represents a node within a hierarchy, this field should contain the same value as the regular title field. | ||
- | * **title_in_hierarchy** - Optional, introduced in VuFind | + | * **title_in_hierarchy** - Optional, introduced in VuFind® |
+ | |||
+ | This optional field is not required, but can be used to enhance some functionality: | ||
+ | |||
+ | * **hierarchy_all_parents_str_mv** - This should contain every parent collection ID -- hierarchy_top_id, | ||
- | ==== VuFind | + | ==== VuFind® |
- | Once the Solr index is populated appropriately, | + | Once the Solr index is populated appropriately, |
* In [[configuration: | * In [[configuration: | ||
Line 55: | Line 57: | ||
===== Collections ===== | ===== Collections ===== | ||
- | Once you have hierarchies set up, you have the option of enabling | + | Once you have hierarchies set up, you have the option of enabling |
- | VuFind's collection browse mode also gives you a high-level view of all the records configured to be treated as collections. | + | VuFind®'s collection browse mode also gives you a high-level view of all the records configured to be treated as collections. |
==== Configuration ==== | ==== Configuration ==== | ||
Line 81: | Line 83: | ||
=== Browsing Collections === | === Browsing Collections === | ||
- | In addition to the custom collection view, VuFind | + | In addition to the custom collection view, VuFind® |
== Setting Up Browsing == | == Setting Up Browsing == | ||
Line 104: | Line 106: | ||
By default, the collection browse uses Solr faceting to find a list of collections. | By default, the collection browse uses Solr faceting to find a list of collections. | ||
---- struct data ---- | ---- struct data ---- | ||
+ | properties.Page Owner : | ||
---- | ---- | ||
indexing/hierarchies_and_collections.1450716452.txt.gz · Last modified: 2015/12/21 16:47 by demiankatz