Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-1434

Wildcard searches seem to return the same score for every hit

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • None
    • jackrabbit-2.14.0-h1
    • None
    • Flagged

    Description

      On Mon, Feb 1, 2016 at 4:04 PM, Ivor Boers <ivor.boers@finalist.nl> wrote:
      > Hi,
      >
      > I'm currently upgrading a 7.7 project to Hippo 10. One of the findings is
      > that the sort order of search result differs in both versions.
      > I've noticed that the jcr:score is the same for all searchresults in the
      > Hippo 10 implementation of the site. In the old application the jcr:score
      > differs for almost every document.
      >
      > The HST query which is performed is something like:
      > //*[(@hippo:paths='996bcac5-86cf-49b5-a7a3-16a74863e814') and
      > (@hippo:availability='live') and not(@jcr:primaryType='nt:frozenNode') and
      > (jcr:contains(., 'bestuur*'))] order by @jcr:score descending
      >
      > I have used this query in the repository servlet where the jcr:scores are
      > visible.
      >
      > To verify this behaviour I have looked at some of our other projects.
      > In 7.7 and 7.8 project the jcr:score differ for each document; in a 7.9
      > project the scores are all equal.
      >
      > Has there been a change in 7.9 which affect the jcr score?

      I did a quick check about your claims, and can conform that at least
      in CMS 10 the scores for documents containing a term with a wildcard
      postfix seem to return all equal indeed. Without the postfix wildcard,
      scoring does seem to be different. This is something that must have
      changed in Jackrabbit, the backing storage below Hippo Repository. It
      will require some time to sort out if the change that was made to
      Jackrabbit was an intentional one or not...and if intentional, what
      the rationale is behind equal scores in case of wildcard postfixing.

      Apologies I do not have this answer now right away

      Regards Ard

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aschrijvers Ard Schrijvers
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: