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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned 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:

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 File(s):
   
   
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

 

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

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Mon 24 Jun 2013 06:49:57 PM UTCNoneAttached File-=>Added Hun har Speak (1).nhsx, #28401

Back to the top


Powered by Savane 3.1-cleanup1