Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9537

Support facet scoring with the scoreNodes expression

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: 6.3
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      SOLR-9193 introduced the scoreNodes expression to find the most interesting relationships in a distributed graph.

      With a small adjustment scoreNodes can be made to easily wrap the facet() expression, to find the most interesting facets.

      1. SOLR-9537.patch
        7 kB
        Joel Bernstein

        Activity

        Hide
        joel.bernstein Joel Bernstein added a comment - - edited

        Patch for this coming shortly. The syntax is:

        scoreNodes(facet(basket, 
                         q="product:product3", 
                         buckets="product", 
                         bucketSorts="count(*) desc", 
                         bucketSizeLimit=100, 
                         count(*)))
        
        Show
        joel.bernstein Joel Bernstein added a comment - - edited Patch for this coming shortly. The syntax is: scoreNodes(facet(basket, q= "product:product3" , buckets= "product" , bucketSorts= "count(*) desc" , bucketSizeLimit=100, count(*)))
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 18c31b325082cdbfb3a1cd0aa4ca4a84f3b1d0e6 in lucene-solr's branch refs/heads/master from Joel Bernstein
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=18c31b3 ]

        SOLR-9537: Support facet scoring with the scoreNodes expression

        Show
        jira-bot ASF subversion and git services added a comment - Commit 18c31b325082cdbfb3a1cd0aa4ca4a84f3b1d0e6 in lucene-solr's branch refs/heads/master from Joel Bernstein [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=18c31b3 ] SOLR-9537 : Support facet scoring with the scoreNodes expression
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 96af65257dc250660e2810a0a8bcf86364921a07 in lucene-solr's branch refs/heads/branch_6x from Joel Bernstein
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=96af652 ]

        SOLR-9537: Support facet scoring with the scoreNodes expression

        Show
        jira-bot ASF subversion and git services added a comment - Commit 96af65257dc250660e2810a0a8bcf86364921a07 in lucene-solr's branch refs/heads/branch_6x from Joel Bernstein [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=96af652 ] SOLR-9537 : Support facet scoring with the scoreNodes expression
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 4733488ed59dc6ff9c4e127e9379a6f4ccff0e26 in lucene-solr's branch refs/heads/master from Joel Bernstein
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=4733488 ]

        SOLR-9537: Update CHANGES.txt

        Show
        jira-bot ASF subversion and git services added a comment - Commit 4733488ed59dc6ff9c4e127e9379a6f4ccff0e26 in lucene-solr's branch refs/heads/master from Joel Bernstein [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=4733488 ] SOLR-9537 : Update CHANGES.txt
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 63ac156c7679a519fc3a7ccad13819e93d5b7e84 in lucene-solr's branch refs/heads/branch_6x from Joel Bernstein
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=63ac156 ]

        SOLR-9537: Update CHANGES.txt

        Show
        jira-bot ASF subversion and git services added a comment - Commit 63ac156c7679a519fc3a7ccad13819e93d5b7e84 in lucene-solr's branch refs/heads/branch_6x from Joel Bernstein [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=63ac156 ] SOLR-9537 : Update CHANGES.txt
        Hide
        shalinmangar Shalin Shekhar Mangar added a comment -

        Closing after 6.3.0 release.

        Show
        shalinmangar Shalin Shekhar Mangar added a comment - Closing after 6.3.0 release.

          People

          • Assignee:
            joel.bernstein Joel Bernstein
            Reporter:
            joel.bernstein Joel Bernstein
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development