-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, Master
-
Fix Version/s: 7.0.0 DXP FP33, 7.0.0 DXP SP7, 7.0.5 CE GA6, 7.1.X, Master
-
Component/s: Search Infrastructure > Solr Connector
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Story Points:1.5
-
Fix Priority:3
-
Git Pull Request:
Description
Contents order in Asset Publisher is incorrect when using Solr 5.
This issue is not reproduced with embedded elastic search.
Steps to Reproduce
- Prepare Solr environment instead of embedded elastic search
- Start Liferay with SP4+FP29
- Go to default site > Content > Web Content, add three basic web contents "test1", "test2", "test3" and edit each content to set metadata as follows:
test1:
Metadata > Priority > 10.0
test2:
Metadata > Priority > 40.0
test3:
Metadata > Priority > 5.0 - Go to default site > any page, and Place Asset Publisher Portlet
- Go to default site > any page > Asset Publisher Portlet > Configuration, and edit as follows and Save
Set Up > Asset Selection > Ordering and Grouping
Order by [Priority] [Descending], And Then [Title] [Ascending] - Go back to page and check the contents order in Asset Publisher
Expected Behavior
The order is expected as follows:
- test2 (priority: 40.0)
- test1 (priority: 10.0)
- test3 (priority: 5.0)
Actual Behavior
- test3 (priority: 5.0)
- test2 (priority: 40.0)
- test1 (priority: 10.0)
Reproduced in:
de-29
7.0.x(74ab4de91d585c3e80a472c5c061203e6e77897c)
master(5ed3c2cb5e0cc8a20a6a2e8c43b12cff60607ad6)
- causes
-
LPS-76153 Can't search kb in kb search portlet
- Closed