Warning: This page has not been updated in over over a year and may be outdated or deprecated.
indexing:adding_facets
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
indexing:adding_facets [2015/12/14 17:12] – ↷ Page moved from adding_facets to indexing:adding_facets demiankatz | indexing:adding_facets [2016/01/26 14:04] – demiankatz | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Facets ====== | + | ====== |
Line 20: | Line 20: | ||
In our example, the publishDate index is a custom index not pulled directly from a MARC tag. The DateOfPublication custom indexing routine provided the date to the indexer, but we do not need to know how it does that to proceed. | In our example, the publishDate index is a custom index not pulled directly from a MARC tag. The DateOfPublication custom indexing routine provided the date to the indexer, but we do not need to know how it does that to proceed. | ||
- | The file [[facets.ini]] contains the lists of facets to be viewed. | + | The file [[configuration: |
| | ||
Line 79: | Line 79: | ||
Of note: The numbers in brackets indicate that the system should look at only the first two bytes in the 048 subfield a field (0-1 mean position 0 to position 1). A comma separates the field information from the name of the file used to translate the data, in this case, instrument_map.properties. | Of note: The numbers in brackets indicate that the system should look at only the first two bytes in the 048 subfield a field (0-1 mean position 0 to position 1). A comma separates the field information from the name of the file used to translate the data, in this case, instrument_map.properties. | ||
- | A line defining the new index must be added to Solr's schema.xml file (found in solr/ | + | A line defining the new index must be added to Solr's schema.xml file (found in solr/ |
+ | ===== Troubleshooting ===== | ||
+ | |||
+ | ==== string vs. text fields ==== | ||
+ | |||
+ | If you set up a facet field and see individual words instead of complete facet values, this most likely means that you have faceted on an analyzed field (usually of type " | ||
---- struct data ---- | ---- struct data ---- | ||
---- | ---- | ||
indexing/adding_facets.txt · Last modified: 2021/03/24 15:47 by emaijala