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


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

Submitted by:  None
Submitted on:  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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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


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')

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

>         if (f != null)

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


<                 //if (field.getCode().equals(SortSpecification.SORT_RANKING)) rankingSort = true;
<                 if (this.field == null) rankingSort = true;

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



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

Attach Files:

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


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

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.5