[jsword-devel] Reordering of Osis refs
DM Smith
dmsmith at crosswire.org
Fri Feb 22 05:55:35 MST 2013
It still works within BibleDesktop.
There is only one type of Passage that allows for ranked results. The others reorder into canonical order.
Just a reminder: This is handled on line 275 in LuceneIndex. But it is controlled by creating a SearchModifier that returns true for isRanked, AbstractIndex.setSearchModifier(SearchModifier);
It is incredibly easy to copy one Passage into another. It could be that you copied the results of the search into a different kind of Passage, which would throw away the ranking.
In Him,
DM
On Feb 22, 2013, at 3:24 AM, Chris Burrell <chris at burrell.me.uk> wrote:
> Hi
>
> Something I noticed on step is that when several references are given they are reordered when displayed.
>
> I think this is an issue with jsword. Can others confirm they have the same behaviour?
>
> The problem is that if the references are the result of a ranked search then you don't want to reorder them.
>
> Haven't looked at any code yet but would be good to be able to toggle that feature.
>
> Chris
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20130222/d4d81ee0/attachment.html>
More information about the jsword-devel
mailing list