bugXML repository / search engine - Bugs: bug #8857, SortSpecification does not allow...

 
 

bug #8857: SortSpecification does not allow re-sorting by rank (sdxscore)

Submitter:  None
Submitted:  Mon 10 May 2004 09:49:43 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 10 May 2004 09:49:43 AM UTC, original submission:  

SortSpecification.java

In the SDX 2.2 release initial results are sorted by rank, but once another sort takes place, it is not possible to obtain the original sort order.

The bug fix below allows re-sorting of results by rank
(using the in-bulit field name 'sdxscore')

66,67d65
<  *
<  * With bug fix changes by AJS to allow re-sorting by rank (sdxscore) 29/04/04
129c127
<         if (f != null) {
---

>         if (f != null)

131,133d128
<         } else if (fieldName.equals(SortSpecification.SORT_RANKING)) {
<         sortKeys.add(new SortKey(null, order));
<         }
147a143

>

412,413c408
<                 if (field.getCode().equals(SortSpecification.SORT_RANKING)) rankingSort = true;
<                 if (this.field == null) rankingSort = true;
---

>                 if (field.getCode().equals(SortSpecification.SORT_RANKING)) rankingSort = true;

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #28401:  Hun har Speak (1).nhsx added by None (82KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2013-06-24 None Attached File- Added Hun har Speak (1).nhsx, #28401

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code