Uploaded image for project: 'JSword'
  1. JSword
  2. JS-50

Add the notion of a ranked search

    Details

      Description

      Make the choice of TallyPassage be explicit.

      The basic problem is that TallyPassage is used exclusively, regardless of the "advanced" user's choice. This is necessary for "Match" to work, but it is overkill otherwise. The reason that the code has this problem is that match is not a state of a search (as indicated by the check box), but it is a decoration of the user's search string. Once the decorated search string is parsed, the remaining code deals with parts of the search in isolation, with the partial results being accumulated into a Key that was created to hold the final results. The point at which the accumulating Key is created has no knowledge of what kind of Key is needed.

      A possible fix is to create the notion of a ranked search. As a search is done, a flag is passed indicating that ranking information is desired. When keys are created, a TallyPassage will be created if ranking is desired, otherwise the "advanced" user's choice of Passage will be used.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dmsmith DM Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: