Details
-
Story
-
Status: Closed
-
Major
-
Resolution: Completed
-
None
Description
Acceptance Criteria
- When configuring the facet, the user can choose from different ordering options to sort terms:
- Term frequency descending (default)
- Term frequency ascending
- Term value ascending
- Term value descending
- Displayed as a simple dropdown called "Order Terms By" after the "Frequency Threshold" field
- Allows to choose a single option
- The default behavior is order by term frequency in descending order
- When performing a search, facet terms are displayed according to the ordering strategy configured
- In the event of a tie breaker where 2 or more term buckets have same frequency, use the "order by term key asc" as a secondary order strategy internally
Testing / Validation
Use Case #1: Text Only Folder Names
- Create a DL Folder "Sales"
- Create a DL Folder "Community"
- Create a DL Folder "Product"
- Create a DL Folder "Engineering"
- Upload a different number of files to each
- Perform a search with Test Test
Assert that the facet terms are ordered by their frequency descending
- Use the configuration screen of the widget test with the other ordering options
Assert that the facet terms are ordered according to the configured strategy
Use Case #2: Numeric Only Folder Names
- Create a DL Folder "2020"
- Create a DL Folder "2019"
- Create a DL Folder "2021"
- Create a DL Folder "2022"
- Upload a different number of files to each
- Perform a search with Test Test
Assert that the facet terms are ordered by their frequency descending
- Use the configuration screen of the widget test with the other ordering options
Assert that the facet terms are ordered according to the configured strategy
Use Case #3: Folder Names with Mixed Numeric and Text
- Use the examples from above to have folders with mixed names and perform searches using different ordering options
Assert that the facet terms are ordered according to the configured strategy
Attachments
Issue Links
- causes
-
LPS-170694 Certain Search Widget Templates not appearing in UI after upgrade
- Closed
- relates
-
LRDOCS-11493 Folder Facet: Document Sorting Terms
-
- Closed
-
- links to
(1 mentioned in)