User Tools

Site Tools


en:classifier:list

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:classifier:list [2019/09/16 02:48] – [bookshelf_type option values] kjdonen:classifier:list [2019/09/16 22:40] kjdon
Line 21: Line 21:
 |**numeric_partition_sort_mode_within_level** | How to sort the values of numeric metadata to create the numeric partitions. |** unicode:** Sort using the Unicode Collation Algorithm. Requires http://www.unicode.org/Public/UCA/latest/allkeys.txt file to be downloaded into perl's lib/Unicode/Collate folder.\\ ** alphabetic:** Sort using alphabetical ordering, including for digits. E.g. 10 would sort before 9. \\ **alphanumeric:** (Default) Sort using a more natural sort, where digits are treated as numbers and sorted numerically. E.g. 10 would sort after 9.|  |**numeric_partition_sort_mode_within_level** | How to sort the values of numeric metadata to create the numeric partitions. |** unicode:** Sort using the Unicode Collation Algorithm. Requires http://www.unicode.org/Public/UCA/latest/allkeys.txt file to be downloaded into perl's lib/Unicode/Collate folder.\\ ** alphabetic:** Sort using alphabetical ordering, including for digits. E.g. 10 would sort before 9. \\ **alphanumeric:** (Default) Sort using a more natural sort, where digits are treated as numbers and sorted numerically. E.g. 10 would sort after 9.| 
 |**numbers_first** | Sort the numbers to the start of the list (By default, metadata values starting with numbers are sorted at the end).|  | |**numbers_first** | Sort the numbers to the start of the list (By default, metadata values starting with numbers are sorted at the end).|  |
-| **sort_leaf_nodes_using** |Metadata fields used for sorting the leaf nodes (i.e. those documents in a bookshelf). Use <nowiki>'|'</nowiki> to separate the metadata groups to stable sort and ';' to separate metadata fields within each group. |//Default: Title//  |+| **sort_leaf_nodes_using** |Metadata fields used for sorting the leaf nodes (i.e. those documents in a bookshelf). Use <nowiki>'|'</nowiki> to separate the metadata groups to stable sort by, and ';' or ',' to separate metadata fields within each group. For example, <nowiki>"dc.Title,Title|Date"</nowiki> will result in a list sorted by Titles (coming from either dc.Title or Title), with those documents having the same Title sorted by Date.|//Default: Title//  |
 |**sort_leaf_nodes_sort_mode** | How to sort the leaf node metadata fields. | ** unicode:** Sort using the Unicode Collation Algorithm. Requires http://www.unicode.org/Public/UCA/latest/allkeys.txt file to be downloaded into perl's lib/Unicode/Collate folder.\\ ** alphabetic:** Sort using alphabetical ordering, including for digits. E.g. 10 would sort before 9. \\ **alphanumeric:** (Default) Sort using a more natural sort, where digits are treated as numbers and sorted numerically. E.g. 10 would sort after 9.|  |**sort_leaf_nodes_sort_mode** | How to sort the leaf node metadata fields. | ** unicode:** Sort using the Unicode Collation Algorithm. Requires http://www.unicode.org/Public/UCA/latest/allkeys.txt file to be downloaded into perl's lib/Unicode/Collate folder.\\ ** alphabetic:** Sort using alphabetical ordering, including for digits. E.g. 10 would sort before 9. \\ **alphanumeric:** (Default) Sort using a more natural sort, where digits are treated as numbers and sorted numerically. E.g. 10 would sort after 9.| 
 | **reverse_sort_leaf_nodes** |Sort the leaf documents in reverse order. |  | | **reverse_sort_leaf_nodes** |Sort the leaf documents in reverse order. |  |
-| **sort_using_unicode_collation** |Sort using the Unicode Collation Algorithm. Requires http://www.unicode.org/Public/UCA/latest/allkeys.txt file to be downloaded into perl's lib/Unicode/Collate folder. This will override all other sort mode arguments. |  |+| **sort_using_unicode_collation** |Sort using the Unicode Collation Algorithm. Requires http://www.unicode.org/Public/UCA/latest/allkeys.txt file to be downloaded into perl's lib/Unicode/Collate folder. This will override all other sort mode arguments: they will all be set to 'unicode'. |  |
 | **filter_metadata** |Metadata element to test against for a document's inclusion into the classifier. Documents will be included if they define this metadata. |  | | **filter_metadata** |Metadata element to test against for a document's inclusion into the classifier. Documents will be included if they define this metadata. |  |
 | **filter_regex** |Regular expression to use in the filter_metadata test. If a regex is specified, only documents with filter_metadata that matches this regex will be included. |  | | **filter_regex** |Regular expression to use in the filter_metadata test. If a regex is specified, only documents with filter_metadata that matches this regex will be included. |  |
-| **standardize_capitalization** |Metadata values are lowercased for sorting into bookshelves. Set this option to use these lowercase values for bookshelf display names. Otherwisethe majority case variant will be used. |  |+| **use_formatted_metadata_for_bookshelf_display** | Metadata values are formatted for sorting (unless -no_metadata_formatting is specified). This might include lower-casing, tidying up whitespace, removing articles. Set this option to use these formatted values for bookshelf names. Otherwise the original value variant that occurs most frequently will be used. |   |
 | **removeprefix** |A prefix to ignore in metadata values when sorting. |  | | **removeprefix** |A prefix to ignore in metadata values when sorting. |  |
 | **removesuffix** |A suffix to ignore in metadata values when sorting. |  | | **removesuffix** |A suffix to ignore in metadata values when sorting. |  |
Line 42: Line 42:
                                
                                  
-=== partition_type_within_level option values===+
  
  
en/classifier/list.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1