Using the Taxonomy Feature in Search Results
Voyager 2.0 includes the new Taxonomy feature, which displays a pre-configured hierarchy of fields that draws from the current search results. This feature makes it easy to quickly examine data records in a more-general to more-specific arrangement. For example, a hierarchy may display Format Category, Format Type and MIME type as follows:
Format Category
  Format Type
    MIME Type
A taxonomy can show any hierarchy of fields, for example:
Continent
  Country
   State
     County
      City
 The specific hierarchy of fields is defined in taxonomy.json, located in[install_dir]\app\web\navigo\assets\data. Fields that are present in the search results will appear in the defined hierarchy. If one or more fields are not present in the search results, they will not appear in the taxonomy.Â
Sample Taxonomy Definitions File
Example FileÂ
Here is a sample taxonomy.json file.
[
{
"name": "Format",
"query": {
"format_category":{
"field":"format_category",
"type": "terms",
"facet":{
"format_type":{
"field":"format_type",
"type": "terms",
"facet":{
"meta_mime": {
"field":"meta_mime",
"type": "terms"
}
}
},
"worker":{
"field":"worker",
"type": "terms",
"facet": {
"extractor":{
"field":"extractor",
"type": "terms"
}
}
}
}
}
}
}
]
Â
Taxonomy
Here is the resulting taxonomy:
Â