[MTE-98] SearchTemplatingFunctions 'ORDER BY jcr:score()' is not working Created: 16/Nov/16 Updated: 13/Jul/18 Due: 16/Nov/16 Resolved: 12/Jul/18 |
|
| Status: | Closed |
| Project: | Magnolia Templating Essentials |
| Component/s: | models |
| Affects Version/s: | 0.13, 1.1 |
| Fix Version/s: | 1.1.6, 1.2.3 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Mercedes Iruela | Assignee: | AntonĂn Juran |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Template: |
|
||||
| Acceptance criteria: |
Empty
|
||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||
| Date of First Response: | |||||
| Epic Link: | Support | ||||
| Sprint: | Kromeriz 155 | ||||
| Story Points: | 1 | ||||
| Description |
|
If the query contain "jcr:score()" at the end (as the one you use in SearchTemplatingFunctions) string comparasion in "org.apache.jackrabbit.core.query.lucene.SearchIndex#createSortFields" for sorter fails "score() compared to org.apache.lucene.search.SortField#SCORE (which is actually score without brackets)" and compare the results using Upper/LowerCaseComparator instead by score. |
| Comments |
| Comment by biseraivanovska [ 18/Apr/18 ] |
|
Hi Magnolia Team, what is the status here? |
| Comment by Antti Hietala [ 02/May/18 ] |
|
|