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

Add terms.list parameter to the TermsComponent to fetch the docFreq for a list of terms

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: 6.2
    • Labels:
      None

      Description

      This ticket will add a terms.list parameter to the TermsComponent to retrieve Terms and docFreq for a specific list of Terms.

      This is needed to support SOLR-9193 which needs to fetch the docFreq for a list of Terms.

      This should also be useful as a general tool for fetching docFreq given a list of Terms.

      1. SOLR-9243.patch
        12 kB
        Joel Bernstein
      2. SOLR-9243.patch
        9 kB
        Joel Bernstein
      3. SOLR-9243.patch
        5 kB
        Joel Bernstein
      4. SOLR-9243.patch
        5 kB
        Joel Bernstein
      5. SOLR-9243.patch
        5 kB
        Joel Bernstein

        Issue Links

          Activity

          Hide
          joel.bernstein Joel Bernstein added a comment -

          Patch that shows proposed changes to the TermsComponent. Tests will follow.

          Show
          joel.bernstein Joel Bernstein added a comment - Patch that shows proposed changes to the TermsComponent. Tests will follow.
          Hide
          joel.bernstein Joel Bernstein added a comment -

          New patch guarding against NULL TermContext

          Show
          joel.bernstein Joel Bernstein added a comment - New patch guarding against NULL TermContext
          Hide
          joel.bernstein Joel Bernstein added a comment -

          Added some simple tests. Distributed test still to come.

          Show
          joel.bernstein Joel Bernstein added a comment - Added some simple tests. Distributed test still to come.
          Hide
          joel.bernstein Joel Bernstein added a comment -

          Added distributed tests.

          Show
          joel.bernstein Joel Bernstein added a comment - Added distributed tests.
          Hide
          joel.bernstein Joel Bernstein added a comment - - edited

          The initial implementation is looking fairly good.

          It provides the following simple but useful behavior:

          If the terms.list parameter is provided it will return the terms and docFreqs for each term in the list. The list will always be sorted in index order.

          Show
          joel.bernstein Joel Bernstein added a comment - - edited The initial implementation is looking fairly good. It provides the following simple but useful behavior: If the terms.list parameter is provided it will return the terms and docFreqs for each term in the list. The list will always be sorted in index order.
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 551bdc6f538a7f7385975bc6bd1bce103518cc1a in lucene-solr's branch refs/heads/master from jbernste
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=551bdc6 ]

          SOLR-9243:Add terms.list parameter to the TermsComponent to fetch the docFreq for a list of terms

          Show
          jira-bot ASF subversion and git services added a comment - Commit 551bdc6f538a7f7385975bc6bd1bce103518cc1a in lucene-solr's branch refs/heads/master from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=551bdc6 ] SOLR-9243 :Add terms.list parameter to the TermsComponent to fetch the docFreq for a list of terms
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 1427f4b2e7599504dc96c4395fd861ffb8224d26 in lucene-solr's branch refs/heads/branch_6x from jbernste
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=1427f4b ]

          SOLR-9243:Add terms.list parameter to the TermsComponent to fetch the docFreq for a list of terms

          Show
          jira-bot ASF subversion and git services added a comment - Commit 1427f4b2e7599504dc96c4395fd861ffb8224d26 in lucene-solr's branch refs/heads/branch_6x from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=1427f4b ] SOLR-9243 :Add terms.list parameter to the TermsComponent to fetch the docFreq for a list of terms
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 2bd6c4ecd774a818168b37e6f09208f8ee4ec45f in lucene-solr's branch refs/heads/master from jbernste
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=2bd6c4e ]

          SOLR-9193,SOLR-9243: update CHANGES.txt

          Show
          jira-bot ASF subversion and git services added a comment - Commit 2bd6c4ecd774a818168b37e6f09208f8ee4ec45f in lucene-solr's branch refs/heads/master from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=2bd6c4e ] SOLR-9193 , SOLR-9243 : update CHANGES.txt
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit de7a3f6f6842af8b211baa4a0291c967932297c1 in lucene-solr's branch refs/heads/branch_6x from jbernste
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=de7a3f6 ]

          SOLR-9193,SOLR-9243: update CHANGES.txt

          Show
          jira-bot ASF subversion and git services added a comment - Commit de7a3f6f6842af8b211baa4a0291c967932297c1 in lucene-solr's branch refs/heads/branch_6x from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=de7a3f6 ] SOLR-9193 , SOLR-9243 : update CHANGES.txt
          Hide
          mikemccand Michael McCandless added a comment -

          Bulk close resolved issues after 6.2.0 release.

          Show
          mikemccand Michael McCandless added a comment - Bulk close resolved issues after 6.2.0 release.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development