Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3960

Boosted field don't work if parent nodes are covered in aggregate definition

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • lucene

    Description

      With index def of the form:

      +/indexName/indexRules/nodeType1/properties/prop0
           -name=subChild/indexedProp
           -nodeScopeIndex=true
           -boost=2.0
      +indexName/aggregates/nodeType1/include0
           -path=subChild
           -relativeNode=true
      

      A query like //element(*, nodeType1)[jcr:contains(subChild, 'bar')] should rank nodes with subChild/@indexedProp=bar above other nodes with any prop =bar under subChild.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            catholicon Vikas Saurabh
            catholicon Vikas Saurabh

            Dates

              Created:
              Updated:

              Slack

                Issue deployment