[jsword-devel] Reordering of Osis refs
Chris Burrell
chris at burrell.me.uk
Wed Feb 27 01:28:01 MST 2013
What's more likely is that I'm debris results back to screen and storing
then for future use before looking them up. Which means that when they come
back in they get ordered. I'll have to look at the code to see if I can
create a different type of passage at that point.
Chris
On 22 Feb 2013 12:55, "DM Smith" <dmsmith at crosswire.org> wrote:
> 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/20130227/dc640563/attachment.html>
More information about the jsword-devel
mailing list